tar: fix parsing issues for pax and GNU extensions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | erofs-utils: tar: fix out-of-bounds access when trimming pax pathlib/ | +1 | 4 replies | |
| 2/2 | erofs-utils: tar: add missing NULL checks for GNU long name/linklib/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH erofs-utils 0/2] tar: fix parsing issues for pax and GNU extensions
This series fixes two issues in tar parsing:
- An out-of-bounds access when trimming PAX path entries
- Missing NULL pointer checks when handling GNU long name/link records
These issues can be triggered by malformed tar archives and may lead to crashes. The fixes improve robustness when processing untrusted inputs.
Zhan Xusheng (2):
erofs-utils: tar: fix out-of-bounds access when trimming pax path
erofs-utils: tar: add missing NULL checks for GNU long name/link
lib/tar.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0