diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-04-06 23:42:58 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-04-06 23:42:58 +0400 |
commit | ba1dc9b1b00764e3e93f2e9d6040ba92df3fe48d (patch) | |
tree | c1b5f76749634e3ba70ebfc13b142bfd26c53880 /source/blender | |
parent | be2626f9f471677e6248fdfb8bb2a31a67e63c43 (diff) |
Fix for a heap-use-after-free issue, reported by Lockal in the IRC.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 3a59f578446..1674fbd55a7 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -602,12 +602,12 @@ int set_listbasepointers(Main *main, ListBase **lb) lb[a++] = &(main->world); lb[a++] = &(main->screen); lb[a++] = &(main->object); + lb[a++] = &(main->linestyle); /* referenced by scenes */ lb[a++] = &(main->scene); lb[a++] = &(main->library); lb[a++] = &(main->wm); lb[a++] = &(main->movieclip); lb[a++] = &(main->mask); - lb[a++] = &(main->linestyle); lb[a] = NULL; |