dilagurung / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

alloc/free sentinels #342

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To avoid bugs make allocate add a sentinel in debug mode, and free check for it 
and assert.
Consider a range check.
In release, fail gracefully?

Original issue reported on code.google.com by fbarch...@chromium.org on 8 Jul 2014 at 5:45

GoogleCodeExporter commented 9 years ago
not needed at the moment.

Original comment by fbarch...@google.com on 28 Jul 2014 at 11:54