aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/Makefile.am
diff options
context:
space:
mode:
authorNico Golde <openbsc@ngolde.de>2010-06-29 20:13:06 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-30 09:10:04 +0200
commit5950236b5e1bd54bde2cf3740115f4f9cc518b21 (patch)
tree26ff419b13d4dcf15c6a2ff96c7d789c6d9d7536 /openbsc/include/openbsc/Makefile.am
parentbd17b39fd2dd4c520c21951b90dccf153165d657 (diff)
* 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.
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(). There may be a better solution than this but this is the easiest way of noticing and taking action I could find without changing return values of sms_from_text.
Diffstat (limited to 'openbsc/include/openbsc/Makefile.am')
0 files changed, 0 insertions, 0 deletions