FVWM: fvwm2 bug

From: Brady Montz <bradym_at_cs.arizona.edu>
Date: Mon, 12 Feb 1996 17:13:53 -0700 (MST)

One fellow was wondering about binding a mouse event to a popup menu
in FvwmIconMan, so I tried it. I bound my WindowOps popup to a mouse
click (that menuu has the standard raise, lower, etc in it). The popup
works fine, so I selected lower. I figured it wouldn't lower the correct
window, but I didn't expect the core dump that happened. Here's the deal:

UpdateMenu() calls ExecuteFunction() and passes a NULL window pointer.
This NULL pointer winds up as the paramater to LowerWindow(), and
LowerWindow() immediately dereferences it.

I don't know what the preferred method to deal with this is. Perhaps all
of the low level LowerWindow() type functions need to check for NULL, or
maybe the check should be done higher up. I don't know.

bradym_at_cs.arizona.edu
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Feb 12 1996 - 18:14:00 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST