Blender Git Loki

Git Commits -> Revision a670036

Revision a670036 by Brecht Van Lommel (master)
January 17, 2018, 18:59 (GMT)
Memory: add MEM_malloc_arrayN() function to protect against overflow.

Differential Revision: https://developer.blender.org/D3002

Commit Details:

Full Hash: a6700362c71c3978acd53762e1f2e11e7f7a38b5
Parent Commit: 46204f8
Lines Changed: +203, -0

2 Added Paths:

/intern/guardedalloc/intern/mallocn_inline.h (+56, -0) (View)
/tests/gtests/guardedalloc/guardedalloc_overflow_test.cc (+61, -0) (View)

7 Modified Paths:

/intern/guardedalloc/CMakeLists.txt (+1, -0) (Diff)
/intern/guardedalloc/intern/mallocn.c (+4, -0) (Diff)
/intern/guardedalloc/intern/mallocn_guarded_impl.c (+30, -0) (Diff)
/intern/guardedalloc/intern/mallocn_intern.h (+6, -0) (Diff)
/intern/guardedalloc/intern/mallocn_lockfree_impl.c (+30, -0) (Diff)
/intern/guardedalloc/MEM_guardedalloc.h (+14, -0) (Diff)
/tests/gtests/guardedalloc/CMakeLists.txt (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021