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.

Add another safety-check in the bitmap strips parsing - don't allow the num_subimages parameter to %xl to be <= 0

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16779 a1c6a512-1295-4272-9138-f99709370657

+3
+3
apps/gui/wps_parser.c
··· 516 516 pos = strchr(ptr, '|'); 517 517 if (pos && pos < newline) 518 518 wps_data->img[n].num_subimages = atoi(ptr); 519 + 520 + if (wps_data->img[n].num_subimages <= 0) 521 + return WPS_ERROR_INVALID_PARAM; 519 522 } 520 523 521 524 /* Skip the rest of the line */