bug from revision 2!, error noticed kjym3 on IRC, buffer overrun on lbarray, was...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 29 Oct 2011 11:15:12 +0000 (11:15 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 29 Oct 2011 11:15:12 +0000 (11:15 +0000)
source/blender/blenloader/intern/writefile.c

index df5ed5a..f0f5ab2 100644 (file)
@@ -2264,7 +2264,7 @@ static void write_screens(WriteData *wd, ListBase *scrbase)
 
 static void write_libraries(WriteData *wd, Main *main)
 {
 
 static void write_libraries(WriteData *wd, Main *main)
 {
-       ListBase *lbarray[30];
+       ListBase *lbarray[MAX_LIBARRAY];
        ID *id;
        int a, tot, foundone;
 
        ID *id;
        int a, tot, foundone;