Blender Git Loki

Git Commits -> Revision ad7a74f

Revision ad7a74f by Sergey Sharybin (master)
May 6, 2013, 12:27 (GMT)
Another correction to svn rev56509

Initial fix was not fully working, because faulty
edge shared the same address as screen area. This
lead to screen freeing issues -- double free (which
was supressed by guarded allocation actually) but
also freed memory access when iterating via edges
to free them.

Solved by a small hack which removes edges with bad
vertices from edges list. This prevents double-free
and freed memory access cased by corrupted files we're
currently fixing. In other cases this tweak is likely
be harmless -- in worst case scenario it'll lead to
small memory leak, which is not as much lethal as
freed memory access.

Commit Details:

Full Hash: ad7a74f58dfbcaf370630e88efa86e3f9217cfce
SVN Revision: 56511
Parent Commit: 5282c4d
Lines Changed: +1, -0

1 Modified Path:

/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021