[PATCH] * Fix null ptr dereference and sms memleak in case the recipient of an sms sent via vty is not attached. Store the sms in the database in this case for later delivery.
laforge at gnumonks.org
Wed Jun 30 09:09:40 CEST 2010
On Tue, Jun 29, 2010 at 08:13:06PM +0200, Nico Golde wrote:
> The problem is that sms_from_text returns NULL in case the
> subscriber is not attached which a) leaks memory of the
> previously allocated sms and b) runs into a null ptr
> dereference in _send_sms_str().
I'll apply your patch right now.
- Harald Welte <laforge at gnumonks.org> http://laforge.gnumonks.org/
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
More information about the OpenBSC