LCDproc development and user support list

Text archives Help

[Lcdproc] [PATCH] Fix menu_add_item segfault

Chronological Thread 
  • From: spdawson at (Simon Dawson)
  • Subject: [Lcdproc] [PATCH] Fix menu_add_item segfault
  • Date: Fri, 5 Oct 2012 08:14:36 +0100

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcdproc-fix-menu-segfault.patch
Type: application/octet-stream
Size: 875 bytes
Desc: not available

Archive powered by MHonArc 2.6.18.

Top of page