Coverity issues in lapd_core/gsm mncc

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/.

Peter Stuge peter at stuge.se
Sat Jul 6 12:02:43 UTC 2013


Holger Hans Peter Freyther wrote:
> > Does msg also need to be set to NULL after the above msgb_free()?
> 
> I think it is good practice to set it to NULL to get a clean segfault
> in case we add more code. :)

That's a good point too! I was thinking about if the variable is
tested again later in the same function.


//Peter




More information about the OpenBSC mailing list