Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2025-03-14 23:52:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and      /work/SRC/openSUSE:Factory/.acct.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acct"

Fri Mar 14 23:52:35 2025 rev:46 rq:1253052 version:6.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/acct/acct.changes        2024-02-21 
17:55:35.377508655 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new.19136/acct.changes     2025-03-14 
23:53:31.620216811 +0100
@@ -1,0 +2,9 @@
+Wed Mar 12 12:49:48 UTC 2025 - pgaj...@suse.com
+
+- modified patches
+  % acct-6.6.2-hz.patch (-p1)
+- added patches
+  fix [bug#1233891]
+  + acct-sprintf-buffer-overflow.patch
+
+-------------------------------------------------------------------

New:
----
  acct-sprintf-buffer-overflow.patch

BETA DEBUG BEGIN:
  New:  fix [bug#1233891]
  + acct-sprintf-buffer-overflow.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ acct.spec ++++++
--- /var/tmp/diff_new_pack.GiIEMa/_old  2025-03-14 23:53:32.204241139 +0100
+++ /var/tmp/diff_new_pack.GiIEMa/_new  2025-03-14 23:53:32.208241305 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acct
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
 Source3:        https://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz.sig
 Source4:        
http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=acct&download=1#/acct.keyring
 Patch0:         acct-6.6.2-hz.patch
+# [bug#1233891]
+Patch1:         acct-sprintf-buffer-overflow.patch
 BuildRequires:  makeinfo
 BuildRequires:  systemd-rpm-macros
 Requires:       logrotate
@@ -41,7 +43,7 @@
 accounting: sa, accton, and lastcomm.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %configure

++++++ acct-6.6.2-hz.patch ++++++
--- /var/tmp/diff_new_pack.GiIEMa/_old  2025-03-14 23:53:32.244242805 +0100
+++ /var/tmp/diff_new_pack.GiIEMa/_new  2025-03-14 23:53:32.252243139 +0100
@@ -7,8 +7,8 @@
 
 Index: lastcomm.c
 ===================================================================
---- lastcomm.c.orig
-+++ lastcomm.c
+--- a/lastcomm.c
++++ b/lastcomm.c
 @@ -71,7 +71,7 @@ int debugging_enabled = 0;   /* Nonzero me
  int strict_match_flag = 0;    /* Nonzero if each record has to match
                                   all items on the command line */
@@ -35,8 +35,8 @@
            double ut = ACUTIME_2_DOUBLE (rec->ac_utime);
 Index: sa.c
 ===================================================================
---- sa.c.orig
-+++ sa.c
+--- a/sa.c
++++ b/sa.c
 @@ -191,7 +191,7 @@ int print_users = 0;
  int percentages = 0;          /* include percentages in printout */
  int user_summary_flag = 0;    /* are we printing a user summary? */


++++++ acct-sprintf-buffer-overflow.patch ++++++
diff -up ./dev_hash.c.ori ./dev_hash.c
--- ./dev_hash.c.ori    2023-05-02 10:40:45.509862165 +0200
+++ ./dev_hash.c        2023-05-02 10:40:48.266876499 +0200
@@ -147,7 +147,7 @@ static void setup_devices(char *dirname)
     {
       char *fullname = (char *) alloca ((strlen (dirname)
                                          + NAMLEN (dp)
-                                         + 1) * sizeof (char));
+                                         + 2) * sizeof (char));  /* slash + 
null; Fedora BZ#2190057 */
 
       (void)sprintf (fullname, "%s/%s", dirname, dp->d_name);
       if (stat (fullname, &sp))

Reply via email to