Module: sip-router
Branch: 4.1
Commit: 6245e35a43d68e074064ded56333d7784478b8c2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6245e35…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 19 22:36:47 2014 -0400
xhttp_pi: fix copy/paste error that can lead to a crash when 'order_by_cols' are
used
(cherry picked from commit 216faa86af3d6db70fae9186ab2776efc27a5f55)
---
modules/xhttp_pi/xhttp_pi_fnc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/xhttp_pi/xhttp_pi_fnc.c b/modules/xhttp_pi/xhttp_pi_fnc.c
index 761a277..71f6fbc 100644
--- a/modules/xhttp_pi/xhttp_pi_fnc.c
+++ b/modules/xhttp_pi/xhttp_pi_fnc.c
@@ -1357,7 +1357,7 @@ int ph_getCmds(ph_db_table_t *ph_db_tables, int ph_db_tables_size,
NULL,
&cmds->o_keys,
NULL,
- &cmds->q_vals,
+ NULL,
&cmds->o_keys_size,
cmd_cols)!=0)
return -1;