Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021