Hello community,

here is the log from the commit of package trinity for openSUSE:Factory checked 
in at 2017-10-26 18:45:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trinity (Old)
 and      /work/SRC/openSUSE:Factory/.trinity.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trinity"

Thu Oct 26 18:45:41 2017 rev:45 rq:536715 version:1.7+git.20171006

Changes:
--------
--- /work/SRC/openSUSE:Factory/trinity/trinity.changes  2017-10-11 
23:02:53.684850415 +0200
+++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes     2017-10-26 
18:45:58.327504239 +0200
@@ -1,0 +2,7 @@
+Thu Oct 19 06:35:55 UTC 2017 - jsl...@suse.com
+
+- Update to version 1.7+git.20171006:
+  * ignore possible error codes like ERESTARTSYS
+  * Fix up null ptr deref when no -l arg.
+
+-------------------------------------------------------------------

Old:
----
  trinity-1.7+git.20170918.tar.xz

New:
----
  trinity-1.7+git.20171006.tar.xz

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

Other differences:
------------------
++++++ trinity.spec ++++++
--- /var/tmp/diff_new_pack.ipwinT/_old  2017-10-26 18:45:59.407453832 +0200
+++ /var/tmp/diff_new_pack.ipwinT/_new  2017-10-26 18:45:59.411453645 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define version_unconverted 1.7+git.20170918
+%define version_unconverted 1.7+git.20171006
 Name:           trinity
-Version:        1.7+git.20170918
+Version:        1.7+git.20171006
 Release:        0
 Summary:        A Linux System call fuzz tester
 License:        GPL-2.0

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ipwinT/_old  2017-10-26 18:45:59.455451592 +0200
+++ /var/tmp/diff_new_pack.ipwinT/_new  2017-10-26 18:45:59.459451405 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
             <param name="url">git://github.com/kernelslacker/trinity</param>
-          <param 
name="changesrevision">2c49c862df82f311ae4791827542053ce8fe7bad</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">d4cb8d894ba32d1417ef8eb422515abb64ddf111</param></service></servicedata>
\ No newline at end of file

++++++ trinity-1.7+git.20170918.tar.xz -> trinity-1.7+git.20171006.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.7+git.20170918/log-files.c 
new/trinity-1.7+git.20171006/log-files.c
--- old/trinity-1.7+git.20170918/log-files.c    2017-09-19 02:16:24.000000000 
+0200
+++ new/trinity-1.7+git.20171006/log-files.c    2017-10-06 19:58:50.000000000 
+0200
@@ -15,11 +15,16 @@
 static FILE *open_logfile(const char *logfilename)
 {
        FILE *file;
-       char *fullpath;
-       int len = strlen(logging_args) + strlen(logfilename) + 2;
+       char *fullpath, *p;
+       int len = strlen(logfilename) + 2;
 
-       fullpath = zmalloc(len);
-       snprintf(fullpath, len, "%s/%s", logging_args, logfilename);
+       if (logging_args)
+               len += strlen(logging_args);
+
+       p = fullpath = zmalloc(len);
+       if (logging_args)
+               p += snprintf(fullpath, strlen(logging_args) + 2, "%s/", 
logging_args);
+       p += snprintf(p, strlen(logfilename) + 1, "%s", logfilename);
 
        unlink(fullpath);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.7+git.20170918/syscall.c 
new/trinity-1.7+git.20171006/syscall.c
--- old/trinity-1.7+git.20170918/syscall.c      2017-09-19 02:16:24.000000000 
+0200
+++ new/trinity-1.7+git.20171006/syscall.c      2017-10-06 19:58:50.000000000 
+0200
@@ -278,7 +278,13 @@
                        if (err < NR_ERRNOS) {
                                entry->errnos[err]++;
                        } else {
-                               printf("errno out of range: %d:%s\n", err, 
strerror(err));
+                               // "These should never be seen by user 
programs."
+                               // But trinity isn't a 'normal' user program, 
we're doing
+                               // stuff that libc hides from apps.
+                               if (err < 512 || err > 530)
+                                       printf("errno out of range after doing 
%s: %d:%s\n",
+                                               entry->name,
+                                               err, strerror(err));
                        }
                        shm->stats.failures++;
                }


Reply via email to