rockbox/firmware/target/hosted
Marcin Bukat 7ab237b025 buflib: Add crc field protecting buflib cookie integrity
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>
2014-01-16 10:17:39 +01:00
..
android Do not include kernel.h in system.h. 2014-01-05 19:35:23 +01:00
maemo Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
samsungypr Samsung YP-R0 LCD improvements 2013-03-06 23:23:52 +01:00
sdl buflib: Add crc field protecting buflib cookie integrity 2014-01-16 10:17:39 +01:00
cpuinfo-linux.c *frequency_linux(): factorize 2012-01-04 00:34:02 +00:00
cpuinfo-linux.h *frequency_linux(): factorize 2012-01-04 00:34:02 +00:00
debug-hosted.c Include stdlib.h for atexit(). 2012-01-25 22:49:19 +01:00
filesystem-unix.c android/ypr0: Merge fs-*.c to generic filesystem-unix.c. 2012-01-21 18:39:19 +01:00
kernel-unix.c Do not include kernel.h in system.h. 2014-01-05 19:35:23 +01:00
kernel-unix.h android/ypr0: Merge kernel-*.c to generic kernel-unix.c. 2012-01-21 18:39:19 +01:00
lc-unix.c load_code: Get rid of win32 specific code in favor SDL_LoadFunction & friends APIs. 2012-05-26 22:46:56 +02:00
pcm-alsa.c Tweak some PCM drivers for less typecasting with the data pointer. 2012-03-04 08:52:50 -05:00
rtc.c Return -1 for not implemented RTC functions. 2011-03-08 21:36:47 +00:00
system-hosted.h Create fimrware/asm directory for assembly optimized stuff. 2012-01-22 18:46:44 +01:00