]> granicus.if.org Git - libnl/commit
xfrm: fix an unintialized return value on memory allocation error in xfrmnl_ae_parse()
authorNicolas PLANEL <nicolas.planel@enovance.com>
Tue, 26 Aug 2014 15:31:15 +0000 (11:31 -0400)
committerThomas Haller <thaller@redhat.com>
Wed, 27 Aug 2014 10:59:39 +0000 (12:59 +0200)
commit77bbf2270ce7c166c87933dc2d70e9619bf6b6e3
treed92b2e230f2fb4f70fe4c83525adaef8fa6fdcc2
parenta640e97a2265ef241da0873593308907d71f1b3f
xfrm: fix an unintialized return value on memory allocation error in xfrmnl_ae_parse()

fix : err = -ENOMEM if calloc() failed

Signed-off-by: Thomas Haller <thaller@redhat.com>
lib/xfrm/ae.c