[sr-dev] git:4.0: xhttp_pi: fix copy/paste error that can lead to a crash when ' order_by_cols' are used

Ovidiu Sas osas at voipembedded.com
Thu Mar 20 03:40:19 CET 2014


Module: sip-router
Branch: 4.0
Commit: ad10c9788bdbeecd61e6be33cffb1d0171795de9
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ad10c9788bdbeecd61e6be33cffb1d0171795de9

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at 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 e93ac4d..76c64be 100644
--- a/modules/xhttp_pi/xhttp_pi_fnc.c
+++ b/modules/xhttp_pi/xhttp_pi_fnc.c
@@ -1308,7 +1308,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;




More information about the sr-dev mailing list