Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package siege for openSUSE:Factory checked 
in at 2021-05-20 19:25:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/siege (Old)
 and      /work/SRC/openSUSE:Factory/.siege.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "siege"

Thu May 20 19:25:06 2021 rev:10 rq:894509 version:4.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/siege/siege.changes      2020-09-29 
19:04:15.993953018 +0200
+++ /work/SRC/openSUSE:Factory/.siege.new.2988/siege.changes    2021-05-20 
19:25:36.645807046 +0200
@@ -1,0 +2,8 @@
+Wed May 19 19:13:49 UTC 2021 - Ferdinand Thiessen <[email protected]>
+
+- Update to version 4.0.9
+  * Added NULL checks for getters
+  * Prettified json
+  * Added handling for null pointer detection
+
+-------------------------------------------------------------------

Old:
----
  siege-4.0.7.tar.gz

New:
----
  siege-4.0.9.tar.gz

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

Other differences:
------------------
++++++ siege.spec ++++++
--- /var/tmp/diff_new_pack.K5zCK7/_old  2021-05-20 19:25:37.061805340 +0200
+++ /var/tmp/diff_new_pack.K5zCK7/_new  2021-05-20 19:25:37.065805324 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package siege
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2012 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           siege
-Version:        4.0.7
+Version:        4.0.9
 Release:        0
 Summary:        HTTP Regression Testing/Benchmarking Utility
 License:        GPL-2.0-or-later

++++++ siege-4.0.7.tar.gz -> siege-4.0.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/ChangeLog new/siege-4.0.9/ChangeLog
--- old/siege-4.0.7/ChangeLog   2020-07-15 16:56:49.000000000 +0200
+++ new/siege-4.0.9/ChangeLog   2021-04-17 16:06:41.000000000 +0200
@@ -1,6 +1,20 @@
 To email a contributor remove "DELETE" from the email address.
 (The DELETEs are necessary as this list is published online.)
 
+2021/04/17 Jeffrey Fulmer http://www.joedog.org/support/
+ * src/cookie.c           Added NULL checks for getters
+ * version.c              Version increment: 4.0.9
+
+2021/04/17 Vedran Miletic https://github.com/vedranmiletic
+ * src/main.c             Prettified json
+
+2021/03/17 Jeffrey Fulmer http://www.joedog.org/support/
+ * src/hash.c             Added explicit include of sys/types.h
+ * src/version.c          Version increment: 4.0.8; Copyright 2021
+
+2021/03/16 Zosecer https://github.com/zosecer
+ * src/parser.c           Added handling for null pointer detection
+
 2020/07/11 Jeffrey Fulmer http://www.joedog.org/support/
  * src/cookie.c           Fixed an issue with expires
  * src/cookies.c          Fixed an issue with persistence
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/configure new/siege-4.0.9/configure
--- old/siege-4.0.7/configure   2020-07-15 16:54:54.000000000 +0200
+++ new/siege-4.0.9/configure   2021-03-17 14:53:02.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for siege 4.0.7.
+# Generated by GNU Autoconf 2.68 for siege 4.0.8.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -711,8 +711,8 @@
 # Identity of this package.
 PACKAGE_NAME='siege'
 PACKAGE_TARNAME='siege'
-PACKAGE_VERSION='4.0.7'
-PACKAGE_STRING='siege 4.0.7'
+PACKAGE_VERSION='4.0.8'
+PACKAGE_STRING='siege 4.0.8'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1454,7 +1454,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 siege 4.0.7 to adapt to many kinds of systems.
+\`configure' configures siege 4.0.8 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1524,7 +1524,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of siege 4.0.7:";;
+     short | recursive ) echo "Configuration of siege 4.0.8:";;
    esac
   cat <<\_ACEOF
 
@@ -1635,7 +1635,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-siege configure 4.0.7
+siege configure 4.0.8
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2259,7 +2259,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by siege $as_me 4.0.7, which was
+It was created by siege $as_me 4.0.8, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -3083,7 +3083,7 @@
 
 # Define the identity of the package.
  PACKAGE='siege'
- VERSION='4.0.7'
+ VERSION='4.0.8'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -21932,7 +21932,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by siege $as_me 4.0.7, which was
+This file was extended by siege $as_me 4.0.8, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -21998,7 +21998,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-siege config.status 4.0.7
+siege config.status 4.0.8
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/doc/bombardment.1.in 
new/siege-4.0.9/doc/bombardment.1.in
--- old/siege-4.0.7/doc/bombardment.1.in        2020-07-15 16:54:54.000000000 
+0200
+++ new/siege-4.0.9/doc/bombardment.1.in        2021-04-17 16:10:52.000000000 
+0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "BOMBARDMENT 1"
-.TH BOMBARDMENT 1 "2020-07-10" "JoeDog" "bombardment"
+.TH BOMBARDMENT 1 "2021-03-17" "JoeDog" "bombardment"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/doc/siege.1.in 
new/siege-4.0.9/doc/siege.1.in
--- old/siege-4.0.7/doc/siege.1.in      2020-07-15 16:54:54.000000000 +0200
+++ new/siege-4.0.9/doc/siege.1.in      2021-04-17 16:10:52.000000000 +0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "SIEGE 1"
-.TH SIEGE 1 "2020-07-10" "JoeDog" "Siege Load Tester"
+.TH SIEGE 1 "2021-03-17" "JoeDog" "Siege Load Tester"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/doc/siege.config.1.in 
new/siege-4.0.9/doc/siege.config.1.in
--- old/siege-4.0.7/doc/siege.config.1.in       2020-07-15 16:54:54.000000000 
+0200
+++ new/siege-4.0.9/doc/siege.config.1.in       2021-04-17 16:10:52.000000000 
+0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "SIEGE.CONFIG 1"
-.TH SIEGE.CONFIG 1 "2020-07-10" "JoeDog" "siege.config utility"
+.TH SIEGE.CONFIG 1 "2021-03-17" "JoeDog" "siege.config utility"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/doc/siege2csv.1.in 
new/siege-4.0.9/doc/siege2csv.1.in
--- old/siege-4.0.7/doc/siege2csv.1.in  2020-07-15 16:54:54.000000000 +0200
+++ new/siege-4.0.9/doc/siege2csv.1.in  2021-04-17 16:10:52.000000000 +0200
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "BOMBARDMENT 1"
-.TH BOMBARDMENT 1 "2020-07-10" "JoeDog" "siege2csv"
+.TH BOMBARDMENT 1 "2021-03-17" "JoeDog" "siege2csv"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/doc/siegerc.in 
new/siege-4.0.9/doc/siegerc.in
--- old/siege-4.0.7/doc/siegerc.in      2020-07-10 19:56:33.000000000 +0200
+++ new/siege-4.0.9/doc/siegerc.in      2021-04-17 16:08:49.000000000 +0200
@@ -67,7 +67,7 @@
 #
 # ex: json_output = true | false
 #
-json_output = true
+json_output = false
 
 
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/src/cookie.c new/siege-4.0.9/src/cookie.c
--- old/siege-4.0.7/src/cookie.c        2020-07-15 16:50:21.000000000 +0200
+++ new/siege-4.0.9/src/cookie.c        2021-04-17 16:00:11.000000000 +0200
@@ -128,7 +128,7 @@
 char *
 cookie_get_name(COOKIE this) 
 {
-  if (this->name == NULL) 
+  if (this == NULL && this->name == NULL) 
     return this->none;
   return this->name;
 }
@@ -141,7 +141,7 @@
 char * 
 cookie_get_value(COOKIE this) 
 {
-  if (this->value == NULL) 
+  if (this == NULL && this->value == NULL) 
     return this->none;
   return this->value;
 }
@@ -152,7 +152,7 @@
 char *
 cookie_get_domain(COOKIE this)
 {
-  if (this->domain == NULL) 
+  if (this == NULL && this->domain == NULL) 
     return this->none;
   return this->domain;
 }
@@ -163,7 +163,7 @@
 char * 
 cookie_get_path(COOKIE this)
 {
-  if (this->path == NULL)
+  if (this == NULL && this->path == NULL)
     return this->none;
   return this->path;
 }
@@ -171,12 +171,16 @@
 time_t 
 cookie_get_expires(COOKIE this)
 {
+  if (this == NULL) 
+    return -1;
   return this->expires;
 }
 
 BOOLEAN
 cookie_get_session(COOKIE this)
 {
+  if (this == NULL) 
+    return TRUE;
   return this->session;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/src/hash.c new/siege-4.0.9/src/hash.c
--- old/siege-4.0.7/src/hash.c  2020-07-10 19:56:33.000000000 +0200
+++ new/siege-4.0.9/src/hash.c  2021-03-17 14:47:20.000000000 +0100
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <sys/types.h>
 #include <hash.h>
 #include <memory.h>
 #include <joedog/defs.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/src/main.c new/siege-4.0.9/src/main.c
--- old/siege-4.0.7/src/main.c  2020-07-10 19:56:33.000000000 +0200
+++ new/siege-4.0.9/src/main.c  2021-04-17 16:02:56.000000000 +0200
@@ -550,7 +550,7 @@
 
   if (my.json_output) {
     fprintf(stderr, "\n");
-    printf("{");
+    printf("{\n");
     printf("\t\"transactions\":\t\t\t%12u,\n", data_get_count(data));
 
     double availability;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/src/parser.c new/siege-4.0.9/src/parser.c
--- old/siege-4.0.7/src/parser.c        2020-07-10 19:56:33.000000000 +0200
+++ new/siege-4.0.9/src/parser.c        2021-03-17 14:46:40.000000000 +0100
@@ -211,6 +211,9 @@
       for (ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); ptr != NULL; ptr = 
strtok_r(NULL, CONTROL_TOKENS, &aid)) {
         if (strncasecmp(ptr, "rel", 3) == 0) {
           ptr = strtok_r(NULL, CONTROL_TOKENS_PLUS, &aid);
+         if (ptr == NULL) {
+           continue;
+         }
           if (strncasecmp(ptr, "stylesheet", 10) == 0) {
             okay = TRUE; 
           }  
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/siege-4.0.7/src/version.c 
new/siege-4.0.9/src/version.c
--- old/siege-4.0.7/src/version.c       2020-07-15 14:13:29.000000000 +0200
+++ new/siege-4.0.9/src/version.c       2021-04-17 16:03:10.000000000 +0200
@@ -4,12 +4,12 @@
  * used by configure to dynamically assign those values 
  * to documentation files.
  */
-const char *version_string = "4.0.7";
+const char *version_string = "4.0.9";
 const char *program_name   = "siege";
 const char *author_name    = "Jeffrey Fulmer, et al.";
 const char *email_address  = "[email protected]";
-const char *years          = "1999-2020";
-const char *copyright      = "Copyright (C) 2018 by Jeffrey Fulmer, et al.\n\
+const char *years          = "1999-2021";
+const char *copyright      = "Copyright (C) 2021 by Jeffrey Fulmer, et al.\n\
 This is free software; see the source for copying conditions.\n\
 There is NO warranty; not even for MERCHANTABILITY or FITNESS\n\
 FOR A PARTICULAR PURPOSE.\n";

Reply via email to