Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-08-26 11:26:13 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-08-26 11:26:13 +0400
commit0b40901bab4bd79281d0ddd3fc37643c54e443c0 (patch)
treee896c9c93e3aeace0a3998203d111775447d48ce /source/blender
parentfb7221ce217a3b7ef8852fea73d3e3dfaef06ee0 (diff)
Patch [#23437] Fix for buffer overflow in filebrowser
Contributed by Alexander Kuznetsov
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_file/file_draw.c3
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)
}
-