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.

doom: fix out-of-bounds access of caps->samprs

Change-Id: Icde0146648477dbd0442c67258ff6ae1ff62c994

mojyack 4cd3d3c5 b5e3789d

+3 -2
+3 -2
apps/plugins/doom/i_sound.c
··· 491 491 break; 492 492 } 493 493 if (i == caps->num_samprs) 494 - i = SAMPR_44; 495 - samplerate = caps->samprs[i]; 494 + samplerate = SAMPR_44; 495 + else 496 + samplerate = caps->samprs[i]; 496 497 497 498 // Initialize external data (all sounds) at start, keep static. 498 499 printf( "I_InitSound: ");