This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, master has been updated
via f89dc4e127eea6addea6a7b45eb96da8c1053ba4 (commit)
from b29ff1da554a2654cc593ea243e29cd7883c92da (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openggsn/commit/?id=f89dc4e127eea6addea6a7b45eb96da…
commit f89dc4e127eea6addea6a7b45eb96da8c1053ba4
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Apr 25 13:00:10 2016 +0200
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
-----------------------------------------------------------------------
Summary of changes:
gtp/queue.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
hooks/post-receive
--
The OpenGGSN project