Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fossil for openSUSE:Factory checked 
in at 2025-02-19 15:59:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fossil (Old)
 and      /work/SRC/openSUSE:Factory/.fossil.new.25061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fossil"

Wed Feb 19 15:59:39 2025 rev:42 rq:1246956 version:2.25

Changes:
--------
--- /work/SRC/openSUSE:Factory/fossil/fossil.changes    2025-02-11 
21:32:19.589320647 +0100
+++ /work/SRC/openSUSE:Factory/.fossil.new.25061/fossil.changes 2025-02-19 
16:00:37.645284241 +0100
@@ -1,0 +2,5 @@
+Wed Feb 12 10:23:53 UTC 2025 - Andreas Schwab <sch...@suse.de>
+
+- overflow.patch: Fix undefined behaviour due to overflow
+
+-------------------------------------------------------------------

New:
----
  overflow.patch

BETA DEBUG BEGIN:
  New:
- overflow.patch: Fix undefined behaviour due to overflow
BETA DEBUG END:

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

Other differences:
------------------
++++++ fossil.spec ++++++
--- /var/tmp/diff_new_pack.EqbtKg/_old  2025-02-19 16:00:38.261310015 +0100
+++ /var/tmp/diff_new_pack.EqbtKg/_new  2025-02-19 16:00:38.261310015 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fossil
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2025 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -28,6 +28,7 @@
 Group:          Development/Tools/Version Control
 URL:            https://fossil-scm.org/
 Source:         
https://fossil-scm.org/home/tarball/%{fossil_uuid}/%{name}-%{version}.tar.gz
+Patch0:         overflow.patch
 BuildRequires:  pkgconfig
 BuildRequires:  tcl
 BuildRequires:  pkgconfig(fuse)
@@ -48,7 +49,7 @@
 * sqlite-backed database
 
 %prep
-%autosetup -p0
+%autosetup -p1
 # test package version and source version match
 grep -qFx %{version} VERSION
 

++++++ overflow.patch ++++++
Index: fossil-2.25/src/th.c
===================================================================
--- fossil-2.25.orig/src/th.c
+++ fossil-2.25/src/th.c
@@ -2878,7 +2878,7 @@ int Th_SetResultInt(Th_Interp *interp, i
 
   if( iVal<0 ){
     isNegative = 1;
-    uVal = iVal * -1;
+    uVal = uVal * -1;
   }
   *(--z) = '\0';
   *(--z) = (char)(48+(uVal%10));

Reply via email to