Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

buflib: enable all paranoia checks

Since allocation is infrequent in Rockbox enabling the extra
checks to catch memory corruption is probably worth the time
and code size cost.

Change-Id: If0d701421054328c57b69e4d0af30759d799d158

+3 -1
+3 -1
firmware/buflib.c
··· 103 103 #define PARANOIA_CHECK_BLOCK_HANDLE (1 << 2) 104 104 #define PARANOIA_CHECK_CRC (1 << 3) 105 105 /* Bitmask of enabled paranoia checks */ 106 - #define BUFLIB_PARANOIA 0 106 + #define BUFLIB_PARANOIA \ 107 + (PARANOIA_CHECK_LENGTH | PARANOIA_CHECK_HANDLE | \ 108 + PARANOIA_CHECK_BLOCK_HANDLE | PARANOIA_CHECK_CRC) 107 109 108 110 #if BUFLIB_PARANOIA & PARANOIA_CHECK_CRC 109 111 # define BUFLIB_HAS_CRC