Fix stack-buffer-overflow read on malformed files

Authored by aacid on Apr 16 2019, 5:58 PM.

Description

Fix stack-buffer-overflow read on malformed files

Summary:
Make sure we read at most 32 bytes for the user/group

oss-fuzz #14264

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D20604

Details

Committed
aacidApr 16 2019, 5:59 PM
Reviewer
apol
Differential Revision
D20604: Fix stack-buffer-overflow read on malformed files
Parents
R243:084dabd35bfb: Fix null-dereference on malformed tar files
Branches
Unknown
Tags
Unknown