[SR-Users] SQLOPS bug
Mihaly Zachar
zmihaly at gmail.com
Wed Mar 18 18:00:47 CET 2015
Hi Daniel,
The patch was created on 4.1.4, sorry for that, but the bug still exists
at 4.2.3 (d76f8e3) and df86f2a as well.
Cheers,
Misi
On 03/18/15 17:45, Daniel-Constantin Mierla wrote:
> Hello,
>
> what version are you using?
>
> Cheers,
> Daniel
>
> On 18/03/15 16:51, Mihaly Zachar wrote:
>> Hi Gents,
>>
>> Please consider applying this patch:
>>
>>
>> --- ./modules/sqlops/sql_api.c.orig 2015-03-18 16:33:56.994320505 +0100
>> +++ ./modules/sqlops/sql_api.c 2015-03-18 16:34:11.254419341 +0100
>> @@ -743,7 +743,7 @@
>> LM_ERR("row index out of bounds [%d/%d]\n", i, res->nrows);
>> goto error;
>> }
>> - if(i>=res->ncols)
>> + if(j>=res->ncols)
>> {
>> LM_ERR("column index out of bounds [%d/%d]\n", j,
>> res->ncols);
>> goto error;
>>
>>
>>
>> Regards,
>> Misi
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
More information about the sr-users
mailing list