[BUG] Smsbox crash with empty messages
"Bruno David Rodrigues" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <00be01c1c17a$27d0f0e0$0200a8c0@davi> |
I just love CVSWEB and checking-malloc;)
smsbox panics on smsbox line 1180 because of a empty text field (NULL):
http://www.kannel.3glab.org/cgi-bin/viewcvs.cgi/gateway/gw/smsbox.c?
annotate=1.174#1180
In patch 1.164 at 2002/01/25:
udh == NULL ? ( text == NULL ? "" : octstr_get_cstr(text) ) : "<< UDH >>");
udh == NULL ? ( text == NULL ? "" : octstr_get_cstr(text) ) :
octstr_get_cstr(text));
Why ?!
I'm reverting this line
--
Davi