add rc_avpair_copy() and use it when sending user-specified av's. This
authorFrank Cusack <fcusack@fcusack.com>
Wed, 13 Nov 2002 18:19:26 +0000 (18:19 +0000)
committerFrank Cusack <fcusack@fcusack.com>
Wed, 13 Nov 2002 18:19:26 +0000 (18:19 +0000)
commit73722c28d461401b93d750a16c6ecc6eb975d58d
treec6d66f562f12ed150bb2c6adc5fb75ca0ba8b9e6
parent62230e86739202fd86841ad8bb39261a0410f63b
add rc_avpair_copy() and use it when sending user-specified av's.  This
fixes a bug with a dangling pointer.  Thanks to Peter Kjellerstedt for
the report and suggested fix.
pppd/plugins/radius/radius.c
pppd/plugins/radius/radiusclient/include/radiusclient.h
pppd/plugins/radius/radiusclient/lib/avpair.c