Bug #337

Crashes

Added by Anonymous 3 months ago.

Status:New Start:06/02/2010
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:- Spent time: -
Target version:-

Description

sprintf(now1,"%s",ThreadStateData.lcdbuffer[LCDTITLE][2]);
sprintf(now2,"%s",ThreadStateData.lcdbuffer[LCDTITLE][3]);
in lcd.c:496 caused some pain here.
I altered it to:
snprintf(now1,LCDMAXWID+1,"%s",ThreadStateData.lcdbuffer[LCDTITLE][2]);
snprintf(now2,LCDMAXWID+1,"%s",ThreadStateData.lcdbuffer[LCDTITLE][3]);

Also available in: Atom PDF