Re: [PATCH] Fix menu_add_item segfault

"Markus Dolze" <[email protected]> Wed, 10 Oct 2012 18:41:54 +0200
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
-------- Original-Nachricht --------
> Datum: Fri, 5 Oct 2012 08:14:36 +0100
> Von: Simon Dawson <[email protected]>
> An: [email protected]
> Betreff: [Lcdproc] [PATCH] Fix menu_add_item segfault

> Trying to add a menu item using menu_add_item causes a segmentation fault
> in the LCDd server. This is caused by a read beyond the end of an array.
> 
> The attached patch adds a safety check on the size of the argument array.

Thank you for spotting this. Committed with an update to the documentation.

Regards,
Markus