summaryrefslogtreecommitdiff
path: root/src/file-data.c
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2024-01-24 21:37:17 +0100
committerraveit65 <[email protected]>2024-01-31 23:36:40 +0100
commitdaf682c202c9edbeeb94963224930387796e469b (patch)
tree1d4d182467c4453424d5e70318e9526658bc85b4 /src/file-data.c
parented5d540bf64fafbf9266b28f1156ce3ce2ba3038 (diff)
downloadengrampa-daf682c202c9edbeeb94963224930387796e469b.tar.bz2
engrampa-daf682c202c9edbeeb94963224930387796e469b.tar.xz
rar: Fix out of bounds read on malformed output
Check the fields count before retrieving it not to go out of bounds. This also slightly revise the logic to require the proper number of fields in the RAR5 `attribute_field_with_space()` case.
Diffstat (limited to 'src/file-data.c')
0 files changed, 0 insertions, 0 deletions