9
0
Fork 0
This repository has been archived on 2022-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
openggsn/gtp
Neels Hofmeyr f89dc4e127 queue_new(): fix NULL dereference on allocation failure
Coverity complains about a 'Dereference before null check' on *queue.
So, push the NULL check further up.

Though I doubt that 'return EOF' is the proper way to handle allocation
failure, this patch is only about the NULL dereference.

Fixes: CID#57918
2016-04-29 13:01:06 +02:00
..
Makefile.am make install: also install gtpie.h 2015-10-27 14:57:18 +01:00
gtp.c gtp: Handle gtpv1 in gtp_update_pdp_conf() correctly 2016-02-05 07:48:20 +01:00
gtp.h gtp: Fix a bunch of compiler warnings when just including gtp.h 2016-01-23 10:16:53 +01:00
gtpie.c Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
gtpie.h Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
lookupa.c Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
lookupa.h Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
pdp.c fix some format specifiers 2015-11-07 12:40:48 +01:00
pdp.h gtp: Make these regions runtime debuggable 2014-12-04 16:49:37 +01:00
queue.c queue_new(): fix NULL dereference on allocation failure 2016-04-29 13:01:06 +02:00
queue.h Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00