Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libqb for openSUSE:Factory checked 
in at 2023-07-26 13:22:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqb (Old)
 and      /work/SRC/openSUSE:Factory/.libqb.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqb"

Wed Jul 26 13:22:06 2023 rev:36 rq:1100598 version:2.0.8+20230721.002171b

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqb/libqb.changes      2023-06-21 
22:37:40.393581847 +0200
+++ /work/SRC/openSUSE:Factory/.libqb.new.15225/libqb.changes   2023-07-26 
13:22:18.743438414 +0200
@@ -1,0 +2,6 @@
+Mon Jul 24 09:15:39 UTC 2023 - Yan Gao <y...@suse.com>
+
+- Update to version 2.0.8+20230721.002171b (v2.0.8):
+- log: fix potential overflow with long log messages (gh#ClusterLabs/libqb#490)
+
+-------------------------------------------------------------------

Old:
----
  libqb-2.0.7+20230607.06c8641.tar.xz

New:
----
  libqb-2.0.8+20230721.002171b.tar.xz

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

Other differences:
------------------
++++++ libqb.spec ++++++
--- /var/tmp/diff_new_pack.hZJq86/_old  2023-07-26 13:22:20.263447018 +0200
+++ /var/tmp/diff_new_pack.hZJq86/_new  2023-07-26 13:22:20.283447131 +0200
@@ -21,7 +21,7 @@
 %bcond_without doxygen2man
 
 Name:           libqb
-Version:        2.0.7+20230607.06c8641
+Version:        2.0.8+20230721.002171b
 Release:        0
 Summary:        An IPC library for high performance servers
 License:        LGPL-2.1-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.hZJq86/_old  2023-07-26 13:22:20.515448444 +0200
+++ /var/tmp/diff_new_pack.hZJq86/_new  2023-07-26 13:22:20.519448466 +0200
@@ -8,10 +8,10 @@
     To update to a new release, change "revision" to the desired
     git commit hash and bump "version" if necessary
 
-    <param name="version">2.0.7</param>
+    <param name="version">2.0.8</param>
 -->
-    <param name="versionformat">2.0.7+%cd.%h</param>
-    <param name="revision">v2.0.7</param>
+    <param name="versionformat">2.0.8+%cd.%h</param>
+    <param name="revision">v2.0.8</param>
     <param name="changesgenerate">enable</param>
   </service>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.hZJq86/_old  2023-07-26 13:22:20.547448625 +0200
+++ /var/tmp/diff_new_pack.hZJq86/_new  2023-07-26 13:22:20.547448625 +0200
@@ -5,6 +5,6 @@
   </service>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/ClusterLabs/libqb.git</param>
-              <param 
name="changesrevision">06c8641de2e1fef1fc6026709fb2109fbbb79d79</param></service></servicedata>
+              <param 
name="changesrevision">002171bbcf4bc4728da56c1538afd9e9d814ecaf</param></service></servicedata>
 (No newline at EOF)
 

++++++ libqb-2.0.7+20230607.06c8641.tar.xz -> 
libqb-2.0.8+20230721.002171b.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqb-2.0.7+20230607.06c8641/lib/Makefile.am 
new/libqb-2.0.8+20230721.002171b/lib/Makefile.am
--- old/libqb-2.0.7+20230607.06c8641/lib/Makefile.am    2023-06-07 
08:50:17.000000000 +0200
+++ new/libqb-2.0.8+20230721.002171b/lib/Makefile.am    2023-07-21 
13:30:39.000000000 +0200
@@ -30,7 +30,7 @@
 
 lib_LTLIBRARIES                = libqb.la
 
-libqb_la_LDFLAGS       = -version-info 103:1:3
+libqb_la_LDFLAGS       = -version-info 103:2:3
 
 source_to_lint         = util.c hdb.c ringbuffer.c ringbuffer_helper.c \
                          array.c loop.c loop_poll.c loop_job.c \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqb-2.0.7+20230607.06c8641/lib/log_blackbox.c 
new/libqb-2.0.8+20230721.002171b/lib/log_blackbox.c
--- old/libqb-2.0.7+20230607.06c8641/lib/log_blackbox.c 2023-06-07 
08:50:17.000000000 +0200
+++ new/libqb-2.0.8+20230721.002171b/lib/log_blackbox.c 2023-07-21 
13:30:39.000000000 +0200
@@ -110,8 +110,8 @@
        chunk += sizeof(uint32_t);
 
        /* log message */
-       msg_len = qb_vsnprintf_serialize(chunk, max_size, cs->format, ap);
-       if (msg_len >= max_size) {
+       msg_len = qb_vsnprintf_serialize(chunk, t->max_line_length, cs->format, 
ap);
+       if (msg_len >= t->max_line_length) {
            chunk = msg_len_pt + sizeof(uint32_t); /* Reset */
 
            /* Leave this at QB_LOG_MAX_LEN so as not to overflow the blackbox 
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqb-2.0.7+20230607.06c8641/tests/Makefile.am 
new/libqb-2.0.8+20230721.002171b/tests/Makefile.am
--- old/libqb-2.0.7+20230607.06c8641/tests/Makefile.am  2023-06-07 
08:50:17.000000000 +0200
+++ new/libqb-2.0.8+20230721.002171b/tests/Makefile.am  2023-07-21 
13:30:39.000000000 +0200
@@ -208,25 +208,25 @@
 # This lot allows the tests to run in parallel
 # but with defined dependancies
 #
-ipc.log: start.test
+ipc.log: start.log
 
-sock_ipc_wrapper.log: start.test
+sock_ipc_wrapper.log: start.log
 
-array.log: start.test
+array.log: start.log
 
-list.log: start.test
+list.log: start.log
 
-log.log: start.test
+log.log: start.log
 
-loop.log: start.test
+loop.log: start.log
 
-map.log: start.test
+map.log: start.log
 
-rb.log: start.test
+rb.log: start.log
 
-tlist.log: start.test
+tlist.log: start.log
 
-util.log: start.test
+util.log: start.log
 
 resources.log: ipc.log sock_ipc_wrapper.log rb.log log.log
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqb-2.0.7+20230607.06c8641/tests/check_log.c 
new/libqb-2.0.8+20230721.002171b/tests/check_log.c
--- old/libqb-2.0.7+20230607.06c8641/tests/check_log.c  2023-06-07 
08:50:17.000000000 +0200
+++ new/libqb-2.0.8+20230721.002171b/tests/check_log.c  2023-07-21 
13:30:39.000000000 +0200
@@ -832,8 +832,10 @@
                qb_log(LOG_INFO, "Message %d %d - %s", lpc, lpc%600, buffer);
        }
 
-        qb_log_blackbox_write_to_file("blackbox.dump");
-        qb_log_blackbox_print_from_file("blackbox.dump");
+        rc = qb_log_blackbox_write_to_file("blackbox.dump");
+       ck_assert_int_gt(rc, 0);
+        rc = qb_log_blackbox_print_from_file("blackbox.dump");
+       ck_assert_int_le(rc, 0);
        unlink("blackbox.dump");
        qb_log_fini();
 }

Reply via email to