summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf.5
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-03-25 12:47:06 +0100
committerDmitry Kozlov <xeb@mail.ru>2013-03-28 07:16:19 +0400
commit6ab4094495c28a56baf64276d1012b38271894c5 (patch)
treeef2e13ea6c0d2c70bc5b4bac41fdf6953b0f1467 /accel-pppd/accel-ppp.conf.5
parent0817b5a49dd5475582e96e4aa4c6d86cc736609c (diff)
downloadaccel-ppp-6ab4094495c28a56baf64276d1012b38271894c5.tar.gz
accel-ppp-6ab4094495c28a56baf64276d1012b38271894c5.zip
l2tp: Handle allocation failure in l2tp_session_connect()
Allocate PPP channel name using the string size to be stored and check for allocation failure. Use two snprintf() and a _malloc() instead of asprintf() so that allocated memory will be visible by memdebug. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
0 files changed, 0 insertions, 0 deletions