mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 09:40:35 -05:00
This should catch the case of buffer misuse which results in corrupted cookie of next allocation. The check is performed on move_block() so it may be a bit late. There is buflib_check_valid() provided which checks the integrity of all cookies for given context. On DEBUG build with --sdl-thread this check is carried out for core_ctx on every context switch to catch problems earlier. Change-Id: I999d4576084592394e3dbd3bdf0f32935ff5f601 Reviewed-on: http://gerrit.rockbox.org/711 Reviewed-by: Thomas Martitz <kugel@rockbox.org> |
||
|---|---|---|
| .. | ||
| _ansi.h | ||
| assert.h | ||
| buflib.h | ||
| core_alloc.h | ||
| crc32-mi4.h | ||
| crc32-rkw.h | ||
| crc32.h | ||
| dbgcheck.h | ||
| diacritic.h | ||
| dir.h | ||
| dir_uncached.h | ||
| dircache.h | ||
| file.h | ||
| font_cache.h | ||
| format.h | ||
| gcc_extensions.h | ||
| loader_strerror.h | ||
| lru.h | ||
| memset16.h | ||
| rb-loader.h | ||
| rbunicode.h | ||
| strcasecmp.h | ||
| strcasestr.h | ||
| string-extra.h | ||
| strlcat.h | ||
| strlcpy.h | ||
| strnatcmp.h | ||
| strtok_r.h | ||
| timefuncs.h | ||