[OpenSIPS-Devel] [opensips] Opensips 1.8.8 crash in get_ha1 while doing authorization on REGISTER (#688)
neha31oct
notifications at github.com
Thu Nov 12 11:06:13 CET 2015
i am using ha1 column
after executing the query for authorization for Subscriber table , then tries to access the result of the query (see below)
1. result.s = (char*)ROW_VALUES(RES_ROWS(*res))[0].val.string_val; (authorize.c:126)
2. result.len = strlen(result.s);
opensips crashes while using strlen function in above point 2 because it gets address out of bound in above string (point1) .
I dont know why it is getting invalid address .i am also not closing database here .
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/688#issuecomment-156056411
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151112/0042bc65/attachment.htm>
More information about the Devel
mailing list