diff options
author | Colomban Wendling <[email protected]> | 2024-01-24 21:37:17 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2024-01-31 23:36:40 +0100 |
commit | daf682c202c9edbeeb94963224930387796e469b (patch) | |
tree | 1d4d182467c4453424d5e70318e9526658bc85b4 /src/file-data.c | |
parent | ed5d540bf64fafbf9266b28f1156ce3ce2ba3038 (diff) | |
download | engrampa-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