1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 14:42:29 +01:00
Files
wmaker/src
Iain Patterson d356baebea Bugs with readMenu*().
readMenuPipe() was calling freeline() on stuff which might be uninitialised, causing
a crash if no valid input was read.

readMenuPipe() was trying to snprintf() on an uninitialised pointer.  We now use a
fixed-length buffer like the other readMenu*() functions.

Various memory leaks in readMenu*() functions have been fixed.  There
are still some lurking around but most have been removed.

The original report from Charles Philip Chan <cpchan@bell.net> on 22 May 2012 says
that:

"Window Maker crashes when I try to open a sub-menu auto-generated by using:
 xdg_menu --format WindowMaker --charset UTF-8"

There was also a report from Amadeusz Sławiński <amade@asmblr.net> on 24 May 2012
stating that wmaker crashes using:

% cat test.sh
cat << EOF
Test MENU
stuff EXEC true
Test END
EOF

% grep test GNUstep/Defaults/WMRootMenu
  ("Generated Submenu", OPEN_MENU, "|| /home/amade/test.sh")

Error is:
wmaker(MonitorLoop(monitor.c:134)): warning: Window Maker exited due to a crash (signal 11) and will be restarted.
2012-05-29 15:24:12 +01:00
..
2012-05-07 20:41:18 -03:00
2012-04-15 23:15:20 -03:00
2012-05-04 18:41:01 -03:00
2012-05-04 18:39:21 -03:00
2010-09-11 17:32:57 +02:00
2012-05-04 18:41:01 -03:00
2012-02-19 10:05:31 +00:00
2012-05-04 18:41:01 -03:00
2010-09-11 17:32:57 +02:00
2012-04-16 09:33:39 -03:00
2012-05-04 18:41:01 -03:00
2012-04-16 09:33:39 -03:00
2012-04-04 12:12:12 +01:00
2012-04-15 23:15:20 -03:00
2012-01-18 12:04:57 +00:00
2012-05-04 18:41:01 -03:00
2012-04-15 23:15:20 -03:00
2012-03-05 16:34:34 +01:00
2010-03-27 10:31:13 +01:00
2012-05-04 18:41:01 -03:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2012-05-29 15:24:12 +01:00
2012-05-04 18:41:01 -03:00
2012-05-04 18:41:01 -03:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2012-04-15 23:15:20 -03:00
2012-05-04 18:41:01 -03:00
2012-05-07 20:36:58 -03:00
2012-02-10 12:39:24 +00:00
2012-05-04 18:41:01 -03:00
2012-04-26 11:11:32 -03:00
2012-05-04 18:41:01 -03:00
2012-05-04 18:39:21 -03:00
2012-04-15 23:15:20 -03:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2011-03-24 16:19:52 +01:00
1998-09-29 22:36:29 +00:00