[PATCH 3/3] db: If creating a subscriber in the db fails, return NULL

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr 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?

~Neels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20160406/12b555a7/attachment.bin>


More information about the OpenBSC mailing list