summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/SDL_mixer/timidity/playmidi.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2023-01-16 18:06:26 +0000
committerAidan MacDonald <amachronic@protonmail.com>2023-01-22 13:47:50 +0000
commitc307d98e3fbe5e867cd6e6e3c61f4937021c6b4c (patch)
tree3ae7d5b34a6c6f72a2dd50737dfe278db934446a /apps/plugins/sdl/SDL_mixer/timidity/playmidi.c
parent32f365bf3cdcaadb22087041bfc44574737b557d (diff)
downloadrockbox-c307d98e3fbe5e867cd6e6e3c61f4937021c6b4c.tar.gz
rockbox-c307d98e3fbe5e867cd6e6e3c61f4937021c6b4c.zip
playlist: pin dircache fileref buffer during background scanning
dircache_search() can yield, which would lead to memory corruption if the playlist dcfrefs buffer is moved at that point. Prevent this from happening by storing the buflib handle and pinning the buffer while scanning the dircache. Change-Id: I28b122de283953dd6d54c1d00598759f5bdcbe93
Diffstat (limited to 'apps/plugins/sdl/SDL_mixer/timidity/playmidi.c')
0 files changed, 0 insertions, 0 deletions