Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libbaseencode for openSUSE:Factory 
checked in at 2023-01-05 15:01:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbaseencode (Old)
 and      /work/SRC/openSUSE:Factory/.libbaseencode.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbaseencode"

Thu Jan  5 15:01:29 2023 rev:7 rq:1056145 version:1.0.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbaseencode/libbaseencode.changes      
2022-05-19 22:50:26.058420579 +0200
+++ /work/SRC/openSUSE:Factory/.libbaseencode.new.1563/libbaseencode.changes    
2023-01-05 15:01:45.625335262 +0100
@@ -1,0 +2,6 @@
+Thu Jan  5 08:37:26 UTC 2023 - Paolo Stivanin <[email protected]>
+
+- Update to 1.0.15:
+ * fix invalid pointer usage in case of memory allocation failure. 
+
+-------------------------------------------------------------------

Old:
----
  v1.0.14.tar.gz
  v1.0.14.tar.gz.asc

New:
----
  v1.0.15.tar.gz
  v1.0.15.tar.gz.asc

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

Other differences:
------------------
++++++ libbaseencode.spec ++++++
--- /var/tmp/diff_new_pack.YT9RJo/_old  2023-01-05 15:01:46.101338663 +0100
+++ /var/tmp/diff_new_pack.YT9RJo/_new  2023-01-05 15:01:46.105338691 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libbaseencode
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 %global debug_package %{nil}
 %endif
 Name:           libbaseencode
-Version:        1.0.14
+Version:        1.0.15
 Release:        0
 Summary:        Base32 and base64 encoding library
 License:        Apache-2.0

++++++ v1.0.14.tar.gz -> v1.0.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.14/CMakeLists.txt 
new/libbaseencode-1.0.15/CMakeLists.txt
--- old/libbaseencode-1.0.14/CMakeLists.txt     2022-05-18 15:53:05.000000000 
+0200
+++ new/libbaseencode-1.0.15/CMakeLists.txt     2023-01-04 16:50:33.000000000 
+0100
@@ -6,10 +6,9 @@
 enable_testing()
 add_subdirectory(tests)
 
-# set up versioning.
 set(BUILD_MAJOR "1")
 set(BUILD_MINOR "0")
-set(BUILD_VERSION "14")
+set(BUILD_VERSION "15")
 set(BUILD_VERSION ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_VERSION})
 
 set(CMAKE_C_STANDARD 11)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.14/src/base32.c 
new/libbaseencode-1.0.15/src/base32.c
--- old/libbaseencode-1.0.14/src/base32.c       2022-05-18 15:53:05.000000000 
+0200
+++ new/libbaseencode-1.0.15/src/base32.c       2023-01-04 16:50:33.000000000 
+0100
@@ -116,6 +116,10 @@
     }
 
     char *user_data = strdup(user_data_untrimmed);
+    if (user_data == NULL) {
+        *err = MEMORY_ALLOCATION;
+        return NULL;
+    }
     data_len -= strip_char(user_data, ' ');
 
     if (!is_valid_b32_input(user_data, data_len)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbaseencode-1.0.14/src/base64.c 
new/libbaseencode-1.0.15/src/base64.c
--- old/libbaseencode-1.0.14/src/base64.c       2022-05-18 15:53:05.000000000 
+0200
+++ new/libbaseencode-1.0.15/src/base64.c       2023-01-04 16:50:33.000000000 
+0100
@@ -93,6 +93,10 @@
     }
 
     char *user_data = strdup(user_data_untrimmed);
+    if (user_data == NULL) {
+        *err = MEMORY_ALLOCATION;
+        return NULL;
+    }
     data_len -= strip_char(user_data, ' ');
 
     if (!is_valid_b64_input(user_data, data_len)) {

Reply via email to