openbsd-ports/x11/fvwm3/patches/patch-modules_FvwmIconMan_x_c
sdk 114e749c4d 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)
2022-11-08 11:43:29 +00:00

12 lines
364 B
Plaintext

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,