On Sat, Sep 21, 2002 at 10:55:47AM -0400, Ben Mathews wrote: > Rastislav Galia wrote: > >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 > > The attached patch will solve this problem.
Applied. Bye Dominik ^_^ ^_^ -- Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382 Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe -- 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]