pppd: Don't crash if NULL pointer passed to vslprintf for %q or %v
authorPaul Mackerras <paulus@samba.org>
Thu, 2 Jan 2014 04:00:12 +0000 (15:00 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 2 Jan 2014 04:00:12 +0000 (15:00 +1100)
commit906814431bddeb2061825fa1ebad1a967b6d87a9
treecc858158781e82bdabb9548ca8d3c02db6aeb5e2
parent8d6942415d22f6ca4377340ca26e345c3f5fa5db
pppd: Don't crash if NULL pointer passed to vslprintf for %q or %v

This is to avoid crashes like that reported in
https://bugs.launchpad.net/ubuntu/+source/ppp/+bug/1244714

Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/utils.c