diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-22 21:00:41 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-22 21:00:41 +0300 |
commit | f35489fa94f6e8f11b228f848c4eecc4dbd3cd9e (patch) | |
tree | a6b4e17d6ab918fcaa195d8c5b5fd158f723a632 /source | |
parent | 3174cbe8f2d3fa384b644a62b3c265a946ab866f (diff) |
Tracking: Fix missing pointer array check when reading plane track
This could cause memory corruption when moving files from system with one
bitness to another.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 21d69fe33c3..9dcb8722c23 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -7075,7 +7075,7 @@ static void direct_link_moviePlaneTracks(FileData *fd, ListBase *plane_tracks_ba int i; plane_track->point_tracks = newdataadr(fd, plane_track->point_tracks); - + test_pointer_array(fd, (void**)&plane_track->point_tracks); for (i = 0; i < plane_track->point_tracksnr; i++) { plane_track->point_tracks[i] = newdataadr(fd, plane_track->point_tracks[i]); } |