diff options
author | ache <ache@FreeBSD.org> | 2007-08-24 16:26:24 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2007-08-24 16:26:24 +0000 |
commit | 320c840549a88a53aedaa03274f259071bccb809 (patch) | |
tree | a184dad4620d760ca932fdbd34e9de70a9fe6aef /gnu | |
parent | a6937ee32125c9d414dd5a6d6190ca22e6b753e3 (diff) | |
download | FreeBSD-src-320c840549a88a53aedaa03274f259071bccb809.zip FreeBSD-src-320c840549a88a53aedaa03274f259071bccb809.tar.gz |
Fix stack overflow with too many items return list in 'dialog' program.
(Noticed in ghostscript-gpl core dump)
Approved by: re@ (bmah)
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libdialog/dialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/dialog.h b/gnu/lib/libdialog/dialog.h index 94675a4..369b139 100644 --- a/gnu/lib/libdialog/dialog.h +++ b/gnu/lib/libdialog/dialog.h @@ -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) |