Accepting request 1062276 from home:rmax:branches:X11:windowmanagers
- Fix a buffer overflow in the FvwmAuto module. fvwm-FvwmAuto-overflow.patch OBS-URL: https://build.opensuse.org/request/show/1062276 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=49
This commit is contained in:
parent
d9e6088609
commit
accb07958b
11
fvwm-FvwmAuto-overflow.patch
Normal file
11
fvwm-FvwmAuto-overflow.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- modules/FvwmAuto/FvwmAuto.c.orig
|
||||
+++ modules/FvwmAuto/FvwmAuto.c
|
||||
@@ -340,6 +340,8 @@ main(int argc, char **argv)
|
||||
{
|
||||
len = max(len, strlen(leave_fn));
|
||||
}
|
||||
+ /* add space for newline and trailing 0 */
|
||||
+ len += 2;
|
||||
if (do_pass_id)
|
||||
{
|
||||
len += 32;
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 14:22:50 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Fix a buffer overflow in the FvwmAuto module.
|
||||
fvwm-FvwmAuto-overflow.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 3 09:30:08 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fvwm2
|
||||
#
|
||||
# Copyright (c) 2020 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
|
||||
@ -32,6 +32,7 @@ Patch0: fvwm-configure.patch
|
||||
Patch1: fvwm-2.5.26-sv_SE.patch
|
||||
Patch2: fvwm-no-date-time.patch
|
||||
Patch3: enable-more-mouse-buttons.patch
|
||||
Patch4: fvwm-FvwmAuto-overflow.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libpng-devel
|
||||
@ -63,7 +64,7 @@ Requires: wallpaper-branding
|
||||
Requires: xdg-menu
|
||||
Requires: xli
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Provides: fvwm
|
||||
Provides: fvwmicns
|
||||
Provides: windowmanager
|
||||
|
Loading…
Reference in New Issue
Block a user