LCDproc development and user support list

Text archives Help


[Lcdproc] [PATCH] Fix menu_add_item segfault


Chronological Thread 
  • From: bsdfan at nurfuerspam.de (Markus Dolze)
  • Subject: [Lcdproc] [PATCH] Fix menu_add_item segfault
  • Date: Wed, 10 Oct 2012 18:41:54 +0200

-------- Original-Nachricht --------
> Datum: Fri, 5 Oct 2012 08:14:36 +0100
> Von: Simon Dawson <spdawson at gmail.com>
> An: lcdproc at lists.omnipotent.net
> 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




Archive powered by MHonArc 2.6.18.

Top of page