vps may be NULL. Fixes #1778
authorAlan T. DeKok <aland@freeradius.org>
Tue, 11 Oct 2016 16:54:54 +0000 (12:54 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 11 Oct 2016 16:54:54 +0000 (12:54 -0400)
commitcbb088102bf0ef56ec684a1083befb55ff2627fa
treed244ef0c3b43d91d2545a73fb41153ce2a5dfa84
parentea6160651279eb24bc45f5b52738639933a9189a
vps may be NULL.  Fixes #1778

The VERIFY_LIST macro shouild be protected by an "if *vps" check.
It should also be run once all of the VPs have been added,
and not on every VP which is added.
src/modules/rlm_perl/rlm_perl.c