Patch [#23437] Fix for buffer overflow in filebrowser
Contributed by Alexander Kuznetsov
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user