diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-06-02 10:37:25 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2024-06-02 10:41:50 -0400 |
commit | 5c7fbe8f1b5d78bf03c98d72a18ca13e74261e7b (patch) | |
tree | e5576eb3cc4ff0efcd668ce94959f2640e76249e /manual | |
parent | cc67f420f215481ef41ed2bc228fb2b28f7eeb80 (diff) | |
download | rockbox-5c7fbe8f1b5d78bf03c98d72a18ca13e74261e7b.tar.gz rockbox-5c7fbe8f1b5d78bf03c98d72a18ca13e74261e7b.zip |
[coverity] tree.c set_current_file_ex explicitly check strrchr output
the math
size_t endpos = filename - path;
if (filename && endpos < MAX_PATH - 1)
should handle it just fine coverity doesn't think so
Change-Id: Ifa0494e56b40c8ab0081ebc771024a45cb24eb76
Diffstat (limited to 'manual')
0 files changed, 0 insertions, 0 deletions