Hello, I am new to fvwm-workers. I hope this is the right place to post 
technical details.

So - in latest cvs source in fvwm/modules/FvwmTaskBar/Start.c there is bug 
in case no Start button attributes are defined in config file. In that 
case list of Start buttons is empty, causing null pointer dereference and 
crash of the module. The bug was introduced recently (Sep 12-th). I did 
patch to solve it by inserting this statement to line 254

  if (First_Start_Button->isStartButton == TRUE)
  {
    if (First_Start_Button->buttonCaption == NULL)
      UpdateString(&(First_Start_Button->buttonCaption), "Start");
    if (First_Start_Button->buttonIconFileName == NULL)
      UpdateString(&(First_Start_Button->buttonIconFileName), "mini-start.xpm");
  }

Anyway, maybe this is not what is intended, but assumption of 
non-emptyness of the list is all around the code.

/Rastjo

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to