diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-07 15:52:26 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-07 15:52:26 +0100 |
commit | f661dc596e4c1b7d2d6479afbf4cb4690d6d3a7b (patch) | |
tree | 19879cd83828e1831a444bb6fd0742642ef21e1b /firmware/include | |
parent | 2c4480979f1b0374414b4e49957f1772bd103b79 (diff) | |
download | rockbox-f661dc596e4c1b7d2d6479afbf4cb4690d6d3a7b.tar.gz rockbox-f661dc596e4c1b7d2d6479afbf4cb4690d6d3a7b.zip |
pictureflow: fix bug in calculation of album art buf size
I intended to check for enough space in buffer but this isn't
really doing it and it is making aa_bufsz slightly too big so
it's a possible buffer overflow.
Restore the old ALIGN_DOWN(..., 4) rounding in case it's important,
if not, then no harm done.
Change-Id: I904f255ac79a77d5328b44667502ceae8308e659
Diffstat (limited to 'firmware/include')
0 files changed, 0 insertions, 0 deletions