Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libtraceevent for openSUSE:Factory 
checked in at 2023-05-03 12:56:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtraceevent (Old)
 and      /work/SRC/openSUSE:Factory/.libtraceevent.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtraceevent"

Wed May  3 12:56:25 2023 rev:11 rq:1084013 version:1.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtraceevent/libtraceevent.changes      
2023-02-13 16:43:23.460249107 +0100
+++ /work/SRC/openSUSE:Factory/.libtraceevent.new.1533/libtraceevent.changes    
2023-05-03 12:56:31.555567614 +0200
@@ -1,0 +2,9 @@
+Thu Apr 27 22:15:58 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.7.2:
+  * Fix some missing commas in big endian blocks
+  * Rename "ok" to "token_has_paren" in process_sizeof()
+  * No need for testing ok in else if (!ok) in process_sizeof()
+  * Fix double free in parsing sizeof() 
+
+-------------------------------------------------------------------

Old:
----
  libtraceevent-1.7.1.tar.gz

New:
----
  libtraceevent-1.7.2.tar.gz

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

Other differences:
------------------
++++++ libtraceevent.spec ++++++
--- /var/tmp/diff_new_pack.KPacmP/_old  2023-05-03 12:56:32.343572244 +0200
+++ /var/tmp/diff_new_pack.KPacmP/_new  2023-05-03 12:56:32.347572268 +0200
@@ -22,7 +22,7 @@
 %define sodname %{dname}%{sonum}
 
 Name:           libtraceevent
-Version:        1.7.1
+Version:        1.7.2
 Release:        0
 Summary:        Linux kernel trace event library
 License:        GPL-2.0-only AND LGPL-2.1-only

++++++ libtraceevent-1.7.1.tar.gz -> libtraceevent-1.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libtraceevent-1.7.1/Makefile 
new/libtraceevent-1.7.2/Makefile
--- old/libtraceevent-1.7.1/Makefile    2023-01-10 02:13:24.000000000 +0100
+++ new/libtraceevent-1.7.2/Makefile    2023-03-28 00:16:23.000000000 +0200
@@ -2,7 +2,7 @@
 # libtraceevent version
 EP_VERSION = 1
 EP_PATCHLEVEL = 7
-EP_EXTRAVERSION = 1
+EP_EXTRAVERSION = 2
 EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION)
 
 MAKEFLAGS += --no-print-directory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libtraceevent-1.7.1/src/event-parse.c 
new/libtraceevent-1.7.2/src/event-parse.c
--- old/libtraceevent-1.7.1/src/event-parse.c   2023-01-10 02:13:24.000000000 
+0100
+++ new/libtraceevent-1.7.2/src/event-parse.c   2023-03-28 00:16:23.000000000 
+0200
@@ -3522,7 +3522,7 @@
        struct tep_format_field *field;
        enum tep_event_type type;
        char *token = NULL;
-       bool ok = false;
+       bool token_has_paren = false;
        int ret;
 
        type = read_token_item(event->tep, &token);
@@ -3537,11 +3537,12 @@
                if (type == TEP_EVENT_ERROR)
                        goto error;
 
+               /* If it's not an item (like "long") then do not process more */
                if (type != TEP_EVENT_ITEM)
-                       ok = true;
+                       token_has_paren = true;
        }
 
-       if (ok || strcmp(token, "int") == 0) {
+       if (token_has_paren || strcmp(token, "int") == 0) {
                arg->atom.atom = strdup("4");
 
        } else if (strcmp(token, "long") == 0) {
@@ -3563,7 +3564,7 @@
                                goto error;
                        }
                        /* The token is the next token */
-                       ok = true;
+                       token_has_paren = true;
                }
        } else if (strcmp(token, "REC") == 0) {
 
@@ -3586,13 +3587,14 @@
                if (ret < 0)
                        goto error;
 
-       } else if (!ok) {
+       } else {
                goto error;
        }
 
-       if (!ok) {
+       if (!token_has_paren) {
+               /* The token contains the last item before the parenthesis */
                free_token(token);
-               type = read_token_item(event->tep, tok);
+               type = read_token_item(event->tep, &token);
        }
        if (test_type_token(type, token,  TEP_EVENT_DELIM, ")"))
                goto error;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libtraceevent-1.7.1/utest/traceevent-utest.c 
new/libtraceevent-1.7.2/utest/traceevent-utest.c
--- old/libtraceevent-1.7.1/utest/traceevent-utest.c    2023-01-10 
02:13:24.000000000 +0100
+++ new/libtraceevent-1.7.2/utest/traceevent-utest.c    2023-03-28 
00:16:23.000000000 +0200
@@ -45,7 +45,7 @@
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
        /* common type */               1, 0x00,
 #else
-       /* common type */               0x00, 1
+       /* common type */               0x00, 1,
 #endif
        /* common flags */              0x00,
        /* common_preempt_count */      0x00,
@@ -82,7 +82,7 @@
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
        /* common type */               2, 0x00,
 #else
-       /* common type */               0x00, 2
+       /* common type */               0x00, 2,
 #endif
        /* common flags */              0x00,
        /* common_preempt_count */      0x00,
@@ -166,7 +166,7 @@
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
        /* common type */               23, 0x00,
 #else
-       /* common type */               0x00, 23
+       /* common type */               0x00, 23,
 #endif
        /* common flags */              0x00,
        /* common_preempt_count */      0x00,

Reply via email to