diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-29 15:15:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-29 15:15:12 +0400 |
commit | e28c2ce753fbbcd26f5f22780f521e3ea85c060f (patch) | |
tree | c57274a48d1f14904657e8f96709eb5a7704dc54 /source/blender/blenloader/intern/writefile.c | |
parent | 1e4be0a4bf9b16aa74ced29fcac8aef56195bbe8 (diff) |
bug from revision 2!, error noticed kjym3 on IRC, buffer overrun on lbarray, was 30 but 39 items beting accessed, surprising this didnt crash earlier.
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index df5ed5a050c..f0f5ab283a6 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -2264,7 +2264,7 @@ static void write_screens(WriteData *wd, ListBase *scrbase) static void write_libraries(WriteData *wd, Main *main) { - ListBase *lbarray[30]; + ListBase *lbarray[MAX_LIBARRAY]; ID *id; int a, tot, foundone; |