Hello community,

here is the log from the commit of package cacti-spine for openSUSE:Factory 
checked in at 2018-02-26 23:25:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cacti-spine (Old)
 and      /work/SRC/openSUSE:Factory/.cacti-spine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cacti-spine"

Mon Feb 26 23:25:58 2018 rev:15 rq:580056 version:1.1.36

Changes:
--------
--- /work/SRC/openSUSE:Factory/cacti-spine/cacti-spine.changes  2018-02-12 
10:16:10.875416015 +0100
+++ /work/SRC/openSUSE:Factory/.cacti-spine.new/cacti-spine.changes     
2018-02-26 23:26:03.544376697 +0100
@@ -1,0 +2,6 @@
+Mon Feb 26 08:09:05 UTC 2018 - lie...@rz.uni-mannheim.de
+
+- Update to version 1.1.36
+  -issue#49: Re-Index update query failed due to lack of escaping
+
+-------------------------------------------------------------------

Old:
----
  1.1.35.tar.gz

New:
----
  1.1.36.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cacti-spine.spec ++++++
--- /var/tmp/diff_new_pack.FasSHk/_old  2018-02-26 23:26:05.236315847 +0100
+++ /var/tmp/diff_new_pack.FasSHk/_new  2018-02-26 23:26:05.248315416 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           cacti-spine
-Version:        1.1.35
+Version:        1.1.36
 Release:        0
 Url:            https://github.com/Cacti/spine
 Source:         
https://github.com/Cacti/spine/archive/release/%{version}.tar.gz

++++++ 1.1.35.tar.gz -> 1.1.36.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spine-release-1.1.35/ChangeLog 
new/spine-release-1.1.36/ChangeLog
--- old/spine-release-1.1.35/ChangeLog  2018-02-12 02:14:10.000000000 +0100
+++ new/spine-release-1.1.36/ChangeLog  2018-02-20 01:08:06.000000000 +0100
@@ -1,5 +1,8 @@
 The Cacti Group | spine
 
+1.1.36
+-issue#49: Re-Index update query failed due to lack of escaping
+
 1.1.35
 -issue#48: Availability check none triggers snmp system check that causes 
device to be ignored
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spine-release-1.1.35/configure.ac 
new/spine-release-1.1.36/configure.ac
--- old/spine-release-1.1.35/configure.ac       2018-02-12 02:14:10.000000000 
+0100
+++ new/spine-release-1.1.36/configure.ac       2018-02-20 01:08:06.000000000 
+0100
@@ -1,5 +1,5 @@
 AC_PREREQ(2.53)
-AC_INIT(Spine Poller, 1.1.35, http://www.cacti.net/issues.php)
+AC_INIT(Spine Poller, 1.1.36, http://www.cacti.net/issues.php)
 
 AC_CONFIG_AUX_DIR(config)
 AC_SUBST(ac_aux_dir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spine-release-1.1.35/poller.c 
new/spine-release-1.1.36/poller.c
--- old/spine-release-1.1.35/poller.c   2018-02-12 02:14:10.000000000 +0100
+++ new/spine-release-1.1.36/poller.c   2018-02-20 01:08:06.000000000 +0100
@@ -158,6 +158,7 @@
 
        char *poll_result = NULL;
        char update_sql[BUFSIZE];
+       char temp_poll_result[BUFSIZE];
        char limits[SMALL_BUFSIZE];
 
        int  num_snmp_agents   = 0;
@@ -830,7 +831,8 @@
                                                         *     the assert to 
fail */
                                                        if ((assert_fail) || 
(!strcmp(reindex->op, ">")) || (!strcmp(reindex->op, "<"))) {
                                                                if (host_thread 
== 1) {
-                                                                       
snprintf(query3, BUFSIZE, "UPDATE poller_reindex SET assert_value='%s' WHERE 
host_id='%i' AND data_query_id='%i' AND arg1='%s'", poll_result, host_id, 
reindex->data_query_id, reindex->arg1);
+                                                                       
db_escape(&mysql, temp_poll_result, poll_result);
+                                                                       
snprintf(query3, BUFSIZE, "UPDATE poller_reindex SET assert_value='%s' WHERE 
host_id='%i' AND data_query_id='%i' AND arg1='%s'", temp_poll_result, host_id, 
reindex->data_query_id, reindex->arg1);
                                                                        
db_insert(&mysql, query3);
                                                                }
 


Reply via email to