ppp: Fix seg fault when using pppol2tp
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 3 Apr 2015 19:06:45 +0000 (19:06 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 3 Apr 2015 19:06:45 +0000 (19:06 +0000)
commit98b2e7938e63704f1ae91eb71da2567c6dbeccac
tree6647ed82b9b3c3765ba2168b502d252ce0cc54b1
parent294917064a193b90a875ca5577668ca0764f16aa
ppp: Fix seg fault when using pppol2tp

PPPD crashes (SEGV) when the dump or dryrun options are specified and an option
is internally defined as "o_special" with an option flag of "OPT_A2STRVAL".
As the option value is not saved when the parameter is processed, a reference
to the option will result into a crash (e.g. when printing).

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45263 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/ppp/patches/540-save-pppol2tp_fd_str.patch [new file with mode: 0644]