[SR-Users] SQLOPS bug

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 18 18:40:33 CET 2015


Hello,

thanks, patch pushed to master, 4.2 and 4.1 branches.

Cheers,
Daniel

On 18/03/15 18:00, Mihaly Zachar wrote:
> 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
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-users mailing list