]> git.ozlabs.org Git - ppp.git/commitdiff
pppd: Fix printing call in print_option()
authorVegard Nossum <vegard.nossum@oracle.com>
Wed, 13 Jun 2018 10:38:53 +0000 (12:38 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 23 Jun 2018 04:42:50 +0000 (14:42 +1000)
print_option() was in this case passing p/opt->addr2 as the format string
instead of the string to be printed (as a quoted string). That could lead
to a nasty crash.

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

No differences found