Blender Git Loki

Git Commits -> Revision a972729

January 18, 2018, 18:23 (GMT)
Memory: add MEM_malloc_arrayN() function to protect against overflow.

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

Commit Details:

Full Hash: a972729895d73999d404aa895930183e35ef7f02
Parent Commit: 5ddcad4
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