Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package clknetsim for openSUSE:Factory 
checked in at 2025-02-20 16:37:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clknetsim (Old)
 and      /work/SRC/openSUSE:Factory/.clknetsim.new.1873 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clknetsim"

Thu Feb 20 16:37:55 2025 rev:7 rq:1247092 version:0+git.20250213

Changes:
--------
--- /work/SRC/openSUSE:Factory/clknetsim/clknetsim.changes      2024-12-10 
23:49:51.788378252 +0100
+++ /work/SRC/openSUSE:Factory/.clknetsim.new.1873/clknetsim.changes    
2025-02-20 16:38:33.113455541 +0100
@@ -1,0 +2,9 @@
+Wed Feb 19 13:10:58 UTC 2025 - Martin Pluskal <mplus...@suse.com>
+
+- Update to version 0+git.20250213:
+  * bash: unset systemd varibles respected by chronyd
+  * fix assertions for struct sockaddr_un length
+  * bash: use debuginfo option instead of unsetting variable
+  * bash: fix missing CLKNETSIM_TMPDIR use
+
+-------------------------------------------------------------------

Old:
----
  clknetsim-0+git.20241128.obscpio

New:
----
  clknetsim-0+git.20250213.obscpio

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

Other differences:
------------------
++++++ clknetsim.spec ++++++
--- /var/tmp/diff_new_pack.zJEsI0/_old  2025-02-20 16:38:34.809526456 +0100
+++ /var/tmp/diff_new_pack.zJEsI0/_new  2025-02-20 16:38:34.809526456 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clknetsim
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           clknetsim
-Version:        0+git.20241128
+Version:        0+git.20250213
 Release:        0
 Summary:        Clock and Network Simulator
 License:        GPL-2.0-only

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.zJEsI0/_old  2025-02-20 16:38:34.857528463 +0100
+++ /var/tmp/diff_new_pack.zJEsI0/_new  2025-02-20 16:38:34.861528630 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
             <param name="url">https://github.com/mlichvar/clknetsim.git</param>
-          <param 
name="changesrevision">64acc4fd0ee92c2bafd9d1cf8097eb3632da685b</param></service></servicedata>
+          <param 
name="changesrevision">d9c68a33d42c20e4ec7a21c0fc41f0434ff8aa5a</param></service></servicedata>
 (No newline at EOF)
 

++++++ clknetsim-0+git.20241128.obscpio -> clknetsim-0+git.20250213.obscpio 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clknetsim-0+git.20241128/client.c 
new/clknetsim-0+git.20250213/client.c
--- old/clknetsim-0+git.20241128/client.c       2024-11-28 11:04:51.000000000 
+0100
+++ new/clknetsim-0+git.20250213/client.c       2025-02-13 11:44:08.000000000 
+0100
@@ -1697,7 +1697,7 @@
                        break;
                case AF_UNIX:
                        sun = (struct sockaddr_un *)addr;
-                       assert(addrlen >= sizeof (*sun));
+                       assert(addrlen > offsetof(struct sockaddr_un, sun_path) 
+ 1);
 
                        assert(sockets[s].iface == IFACE_UNIX);
                        if (sscanf(sun->sun_path, "/clknetsim/unix/%d:%d",
@@ -1721,7 +1721,6 @@
 int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen) {
        int s = get_socket_from_fd(sockfd), port;
        struct sockaddr_in *sin;
-       struct sockaddr_un *sun;
        uint32_t a;
        static int unix_sockets = 0;
 
@@ -1759,8 +1758,7 @@
                        }
                        break;
                case AF_UNIX:
-                       assert(addrlen >= sizeof (*sun));
-                       sun = (struct sockaddr_un *)addr;
+                       assert(addrlen > offsetof(struct sockaddr_un, sun_path) 
+ 1);
 
                        assert(sockets[s].iface == IFACE_UNIX);
                        sockets[s].port = ++unix_sockets;
@@ -2290,7 +2288,7 @@
                                break;
                        case AF_UNIX:
                                sun = msg->msg_name;
-                               assert(sun && msg->msg_namelen >= sizeof 
(*sun));
+                               assert(sun && msg->msg_namelen > 
offsetof(struct sockaddr_un, sun_path) + 1);
                                assert(sun->sun_family == AF_UNIX);
                                req.subnet = unix_subnet;
                                if (sscanf(sun->sun_path, 
"/clknetsim/unix/%u:%u",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/clknetsim-0+git.20241128/clknetsim.bash 
new/clknetsim-0+git.20250213/clknetsim.bash
--- old/clknetsim-0+git.20241128/clknetsim.bash 2024-11-28 11:04:51.000000000 
+0100
+++ new/clknetsim-0+git.20250213/clknetsim.bash 2025-02-13 11:44:08.000000000 
+0100
@@ -94,9 +94,10 @@
            ;;
     esac
 
+    unset LISTEN_FDS NOTIFY_SOCKET
+
     if [[ $CLKNETSIM_CLIENT_WRAPPER == *valgrind* ]]; then
-           unset DEBUGINFOD_URLS
-           wrapper_options="--log-file=$CLKNETSIM_TMPDIR/valgrind.$node"
+           wrapper_options="--log-file=$CLKNETSIM_TMPDIR/valgrind.$node 
--enable-debuginfod=no"
     fi
 
     
LD_PRELOAD=${CLKNETSIM_PRELOAD:+$CLKNETSIM_PRELOAD:}$CLKNETSIM_PATH/clknetsim.so
 \
@@ -115,7 +116,7 @@
     shift
 
     if [[ $CLKNETSIM_SERVER_WRAPPER == *valgrind* ]]; then
-           wrapper_options="--log-file=$CLKNETSIM_TMPDIR/valgrind.0"
+           wrapper_options="--log-file=$CLKNETSIM_TMPDIR/valgrind.0 
--enable-debuginfod=no"
     fi
 
     $CLKNETSIM_SERVER_WRAPPER $wrapper_options \
@@ -146,12 +147,12 @@
 
     client_pids=" "
 
-    if ls tmp/valgrind.* &> /dev/null; then
-       if grep -q 'ERROR SUMMARY: [^0]' tmp/valgrind.*; then
+    if ls $CLKNETSIM_TMPDIR/valgrind.* &> /dev/null; then
+       if grep -q 'ERROR SUMMARY: [^0]' $CLKNETSIM_TMPDIR/valgrind.*; then
                echo " valgrind error" 1>&2
                ret=1
        fi
-       sed -i '/^ERROR: ld.so: object.*from LD_PRELOAD cannot/d' tmp/log.[0-9]*
+       sed -i '/^ERROR: ld.so: object.*from LD_PRELOAD cannot/d' 
$CLKNETSIM_TMPDIR/log.[0-9]*
     fi
 
     return $ret

++++++ clknetsim.obsinfo ++++++
--- /var/tmp/diff_new_pack.zJEsI0/_old  2025-02-20 16:38:34.965532979 +0100
+++ /var/tmp/diff_new_pack.zJEsI0/_new  2025-02-20 16:38:34.969533146 +0100
@@ -1,5 +1,5 @@
 name: clknetsim
-version: 0+git.20241128
-mtime: 1732788291
-commit: 64acc4fd0ee92c2bafd9d1cf8097eb3632da685b
+version: 0+git.20250213
+mtime: 1739443448
+commit: d9c68a33d42c20e4ec7a21c0fc41f0434ff8aa5a
 

Reply via email to