Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fstrm for openSUSE:Factory checked 
in at 2022-05-06 18:58:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fstrm (Old)
 and      /work/SRC/openSUSE:Factory/.fstrm.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fstrm"

Fri May  6 18:58:48 2022 rev:5 rq:974885 version:0.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/fstrm/fstrm.changes      2020-04-09 
23:13:48.538187415 +0200
+++ /work/SRC/openSUSE:Factory/.fstrm.new.1538/fstrm.changes    2022-05-06 
18:59:00.917335342 +0200
@@ -1,0 +2,9 @@
+Mon Aug 16 20:27:53 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 0.6.1:
+  * fstrm_capture: ignore SIGPIPE, which will cause the
+    interrupted connections to generate an EPIPE instead.
+  * Fix truncation in snprintf calls in argument processing.
+  * fstrm_capture: Fix output printf format. 
+
+-------------------------------------------------------------------

Old:
----
  fstrm-0.6.0.tar.gz

New:
----
  fstrm-0.6.1.tar.gz

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

Other differences:
------------------
++++++ fstrm.spec ++++++
--- /var/tmp/diff_new_pack.DT0REq/_old  2022-05-06 18:59:02.397336961 +0200
+++ /var/tmp/diff_new_pack.DT0REq/_new  2022-05-06 18:59:02.401336966 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fstrm
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define c_lib   libfstrm0
 Name:           fstrm
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 Summary:        Frame Streams implementation in C
 License:        MIT
@@ -71,7 +71,7 @@
 
 %build
 %configure --disable-silent-rules --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -86,9 +86,9 @@
 %{_bindir}/fstrm_capture
 %{_bindir}/fstrm_dump
 %{_bindir}/fstrm_replay
-%{_mandir}/man1/fstrm_capture.1*
-%{_mandir}/man1/fstrm_dump.1*
-%{_mandir}/man1/fstrm_replay.1*
+%{_mandir}/man1/fstrm_capture.1%{?ext_man}
+%{_mandir}/man1/fstrm_dump.1%{?ext_man}
+%{_mandir}/man1/fstrm_replay.1%{?ext_man}
 
 %files -n %{c_lib}
 %license COPYRIGHT LICENSE

++++++ fstrm-0.6.0.tar.gz -> fstrm-0.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fstrm-0.6.0/ChangeLog new/fstrm-0.6.1/ChangeLog
--- old/fstrm-0.6.0/ChangeLog   2019-10-14 18:27:53.000000000 +0200
+++ new/fstrm-0.6.1/ChangeLog   2021-04-05 19:09:55.000000000 +0200
@@ -1,3 +1,12 @@
+fstrm (0.6.1)
+
+  * fstrm_capture: ignore SIGPIPE, which will cause the
+    interrupted connections to generate an EPIPE instead.
+
+  * Fix truncation in snprintf calls in argument processing.
+
+  * fstrm_capture: Fix output printf format.
+
 fstrm (0.6.0)
 
   * fstrm_capture: Perform output file rotation when a SIGUSR1 signal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fstrm-0.6.0/Makefile.in new/fstrm-0.6.1/Makefile.in
--- old/fstrm-0.6.0/Makefile.in 2019-10-14 18:51:47.000000000 +0200
+++ new/fstrm-0.6.1/Makefile.in 2021-04-05 19:20:14.000000000 +0200
@@ -1866,8 +1866,8 @@
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
-@HAVE_DOXYGEN_FALSE@clean-local:
 @HAVE_DOXYGEN_FALSE@html-local:
+@HAVE_DOXYGEN_FALSE@clean-local:
 clean: clean-am
 
 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fstrm-0.6.0/configure new/fstrm-0.6.1/configure
--- old/fstrm-0.6.0/configure   2019-10-14 18:51:47.000000000 +0200
+++ new/fstrm-0.6.1/configure   2021-04-05 19:20:15.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for fstrm 0.6.0.
+# Generated by GNU Autoconf 2.69 for fstrm 0.6.1.
 #
 # Report bugs to <https://github.com/farsightsec/fstrm/issues>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='fstrm'
 PACKAGE_TARNAME='fstrm'
-PACKAGE_VERSION='0.6.0'
-PACKAGE_STRING='fstrm 0.6.0'
+PACKAGE_VERSION='0.6.1'
+PACKAGE_STRING='fstrm 0.6.1'
 PACKAGE_BUGREPORT='https://github.com/farsightsec/fstrm/issues'
 PACKAGE_URL='https://github.com/farsightsec/fstrm'
 
@@ -1365,7 +1365,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures fstrm 0.6.0 to adapt to many kinds of systems.
+\`configure' configures fstrm 0.6.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1436,7 +1436,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of fstrm 0.6.0:";;
+     short | recursive ) echo "Configuration of fstrm 0.6.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1564,7 +1564,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-fstrm configure 0.6.0
+fstrm configure 0.6.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1979,7 +1979,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by fstrm $as_me 0.6.0, which was
+It was created by fstrm $as_me 0.6.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2846,7 +2846,7 @@
 
 # Define the identity of the package.
  PACKAGE='fstrm'
- VERSION='0.6.0'
+ VERSION='0.6.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -14471,7 +14471,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by fstrm $as_me 0.6.0, which was
+This file was extended by fstrm $as_me 0.6.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -14538,7 +14538,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-fstrm config.status 0.6.0
+fstrm config.status 0.6.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fstrm-0.6.0/configure.ac new/fstrm-0.6.1/configure.ac
--- old/fstrm-0.6.0/configure.ac        2019-10-14 18:27:53.000000000 +0200
+++ new/fstrm-0.6.1/configure.ac        2021-04-05 19:09:55.000000000 +0200
@@ -1,7 +1,7 @@
 AC_PREREQ(2.64)
 
 AC_INIT([fstrm],
-        [0.6.0],
+        [0.6.1],
         [https://github.com/farsightsec/fstrm/issues],
         [fstrm],
         [https://github.com/farsightsec/fstrm])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fstrm-0.6.0/libmy/argv.c new/fstrm-0.6.1/libmy/argv.c
--- old/fstrm-0.6.0/libmy/argv.c        2019-03-08 21:56:18.000000000 +0100
+++ new/fstrm-0.6.1/libmy/argv.c        2021-04-05 19:09:55.000000000 +0200
@@ -479,11 +479,11 @@
     
     /* did we find one? */
     if (*(spec_p - 1) != '\0') {
-      if (out_p + 2 >= max_p) {
+      if (out_p + 3 >= max_p) { /* make sure that snprintf has room to 
terminate its output */
        break;
       }
-      LOC_SNPRINTF(SNP_ARG(out_p, 2), "\\%c", *(spec_p - 1));
-      out_p += 2;
+      LOC_SNPRINTF(SNP_ARG(out_p, 3), "\\%c", *(spec_p - 1)); /* outputing a 
backslash, a char, and a nul */
+      out_p += 2; /* don't include the nul in the final length */
       continue;
     }
     
@@ -496,10 +496,10 @@
       out_p += 1;
     }
     else {
-      if (out_p + 4 >= max_p) {
+      if (out_p + 5 >= max_p) {
        break;
       }
-      LOC_SNPRINTF(SNP_ARG(out_p, 4), "\\%03o", *buf_p);
+      LOC_SNPRINTF(SNP_ARG(out_p, 5), "\\%03o", *buf_p); /* outputing a 
backslash, three digits, and a nul */
       out_p += 4;
     }
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fstrm-0.6.0/src/fstrm_capture.c 
new/fstrm-0.6.1/src/fstrm_capture.c
--- old/fstrm-0.6.0/src/fstrm_capture.c 2019-10-14 18:27:53.000000000 +0200
+++ new/fstrm-0.6.1/src/fstrm_capture.c 2021-04-05 19:09:55.000000000 +0200
@@ -998,7 +998,7 @@
                         conn->len_buf, conn->len_frame_total);
                if (conn->len_frame_total > conn->ctx->capture_highwater) {
                        conn_log(CONN_WARNING, conn,
-                               "Skipping %zd byte message (%zd buffer)",
+                               "Skipping %u byte message (%zd buffer)",
                                conn->len_frame_total,
                                conn->ctx->capture_highwater);
                        conn->bytes_skip = conn->len_frame_total;
@@ -1201,6 +1201,10 @@
        if (sigaction(SIGINT, &sa, NULL) != 0)
                return false;
 
+       sa.sa_handler = SIG_IGN;
+       if (sigaction(SIGPIPE, &sa, NULL) != 0)
+               return false;
+
        /* Success. */
        return true;
 }

Reply via email to