diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-26 11:26:13 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-26 11:26:13 +0400 |
commit | 0b40901bab4bd79281d0ddd3fc37643c54e443c0 (patch) | |
tree | e896c9c93e3aeace0a3998203d111775447d48ce | |
parent | fb7221ce217a3b7ef8852fea73d3e3dfaef06ee0 (diff) |
Patch [#23437] Fix for buffer overflow in filebrowser
Contributed by Alexander Kuznetsov
-rw-r--r-- | source/blender/editors/space_file/file_draw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c index f25fab45c7c..3368ce636e1 100644 --- a/source/blender/editors/space_file/file_draw.c +++ b/source/blender/editors/space_file/file_draw.c @@ -118,7 +118,7 @@ void file_draw_buttons(const bContext *C, ARegion *ar) const int separator = 4; /* Additional locals. */ - char name[20]; + char name[32]; int loadbutton; int fnumbuttons; int min_x = 10; @@ -628,4 +628,3 @@ void file_draw_list(const bContext *C, ARegion *ar) } - |