]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Check manifest fileList emptiness before shuffling
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 18 Dec 2024 21:58:54 +0000 (15:58 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 18 Dec 2024 21:58:54 +0000 (15:58 -0600)
commit17f095210553182b0e0a28ee6fd41b0d3c8fc1d3
tree2adadf2544cfeed8a57a29e26f6ed5df73c92986
parentf99f662cec3e0fe083acf4a51916270b496018e1
Check manifest fileList emptiness before shuffling

Prevents the loop iterating indefinitely trying to shuffle an array
that's not actually there.

Fixes #154 and new CVE.
src/object/manifest.c