Fix stack overflow with too many items return list in 'dialog' program.

(Noticed in ghostscript-gpl core dump)

Approved by:    re@ (bmah)
This commit is contained in:
Andrey A. Chernov 2007-08-24 16:26:24 +00:00
parent d72c72537e
commit 680e3e034b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171951

View File

@ -74,7 +74,7 @@ typedef struct _dmenu_item {
} dialogMenuItem;
#define VERSION "0.4"
#define MAX_LEN 2048
#define MAX_LEN 4096
#ifndef TRUE
#define TRUE (1)