Blender Git Commit Log

Git Commits -> Revision 793b73e

Revision 793b73e by Lukas Toenne (master)
December 9, 2013, 10:06 (GMT)
Fix T37712: Point cache index lookup crashed with 0 points stored.

The BKE_ptcache_mem_index_find is using unsigned ints for binary search
"high" values - but this leads to integer overflow if the totpoint
number is 0 and causes invalid array access.

Commit Details:

Full Hash: 793b73edc269e7e801c2e72f4ae6d11951608f74
Parent Commit: 5245900
Lines Changed: +1, -1

1 Modified Path:

/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021