diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-16 18:06:26 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-22 13:47:50 +0000 |
commit | c307d98e3fbe5e867cd6e6e3c61f4937021c6b4c (patch) | |
tree | 3ae7d5b34a6c6f72a2dd50737dfe278db934446a /apps/gui/list.c | |
parent | 32f365bf3cdcaadb22087041bfc44574737b557d (diff) | |
download | rockbox-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/gui/list.c')
0 files changed, 0 insertions, 0 deletions