Fix crash in fvmw3 due to uninitialized value

Fix first appeared on FreeBSD. Upstream discussion:
https://github.com/fvwmorg/fvwm3/issues/659

Patch from Michael (Maintainer)
This commit is contained in:
sdk 2022-11-08 11:43:29 +00:00
parent 7b4f6e326b
commit 114e749c4d
2 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@ COMMENT= multiple virtual desktop window manager
VERSION= 1.0.5
DISTNAME= fvwm3-${VERSION}
REVISION= 0
REVISION= 1
CATEGORIES= x11

View File

@ -0,0 +1,11 @@
Index: modules/FvwmIconMan/x.c
--- modules/FvwmIconMan/x.c.orig
+++ modules/FvwmIconMan/x.c
@@ -741,6 +741,7 @@ void X_init_manager (int man_id)
if (man->geometry_str) {
fscreen_scr_arg arg;
arg.mouse_ev = NULL;
+ arg.name = NULL;
geometry_mask = FScreenParseGeometryWithScreen(
man->geometry_str, &man->geometry.x, &man->geometry.y,