[PATCH 3/3] db: If creating a subscriber in the db fails, return NULL
nhofmeyr at sysmocom.de
Wed Apr 6 10:37:37 UTC 2016
On Fri, Apr 01, 2016 at 08:33:35PM +0200, Holger Freyther wrote:
> From: Holger Hans Peter Freyther <holger at moiji-mobile.com>
> We should not return a subscriber in case it was not written to
> the database. Instead free the memory allocated and return NULL.
> Callers in gsm_04_08.c are prepared to have the creation fail.
> Related: OS Issue #1657
curious: 1657 says "VTY command seems to be able to crash OsmoNITB", how did
that happen, and does this patch set change anything about it?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the OpenBSC