[SR-Users] SQLOPS bug

Mihaly Zachar zmihaly at gmail.com
Wed Mar 18 16:51:13 CET 2015


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



More information about the sr-users mailing list