1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2008-08-06 05:01:20 +00:00
parent 13e9649091
commit 49ae1c2a69
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
2008-08-06 P. A. Bagyenda <bagyenda@dsmagic.com>
* Additional fixes for bad message formats causing crash
2008-08-05 P. A. Bagyenda <bagyenda@dsmagic.com>
* Minor fix for crash in mmsproxy with bad message type
2008-07-18 P. A. Bagyenda <bagyenda@dsmagic.com>

View File

@ -399,11 +399,11 @@ static int mms_unpack_well_known_field(List *unpacked, int field_type,
wsp_field_value(context, &val);
x = mms_response_status_to_cstr(val|0x80);
if (decoded)
if (decoded && x)
octstr_append_cstr(decoded, (char *)x);
else
warning(0, "error decoding field_value_data value for header %s\n",
hname);
warning(0, "error decoding field_value_data value for header %s: val=%s\n",
hname, x ? (char *)x : (char *)"(null)");
} else
ch = mms_response_status_to_cstr(val|0x80);
break;