diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-03-25 12:47:06 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-03-28 07:16:19 +0400 |
commit | 6ab4094495c28a56baf64276d1012b38271894c5 (patch) | |
tree | ef2e13ea6c0d2c70bc5b4bac41fdf6953b0f1467 /accel-pppd/accel-ppp.conf.5 | |
parent | 0817b5a49dd5475582e96e4aa4c6d86cc736609c (diff) | |
download | accel-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