summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/systrace.cpp
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-04-08 10:03:28 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-04-17 13:06:29 +0000
commitafe80742a5d39c3d7fb9fc3e104bd6d18bf28da9 (patch)
tree77b23f2bf635fbe020c3b22c8d29f5d13aa3c047 /rbutil/rbutilqt/systrace.cpp
parent4dc602dd7f763a2ceea7c3e01501cdc3e9de375c (diff)
downloadrockbox-afe80742a5d39c3d7fb9fc3e104bd6d18bf28da9.tar.gz
rockbox-afe80742a5d39c3d7fb9fc3e104bd6d18bf28da9.tar.bz2
rockbox-afe80742a5d39c3d7fb9fc3e104bd6d18bf28da9.zip
Fix Pictureflow bugs
It turns out that aa_cache.buf, used to store decoded album art during background scanning, was not correctly allocated and overlapped with memory allocated for buflib. This was what caused all the segfaults. Also fixed a logic error in read_pfraw(), which returns a buflib handle on success, but also returned 0 on failure -- since 0 is a valid buflib handle, it should return -1 on failure instead. Change-Id: Ifaa1c02ec19b0859e43c40c0462ed7738d07fec3
Diffstat (limited to 'rbutil/rbutilqt/systrace.cpp')
0 files changed, 0 insertions, 0 deletions