Bug 14076 - libbb: treat SIZE_MAX read requests
Summary: libbb: treat SIZE_MAX read requests
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-07 12:02 UTC by Samanta Navarro
Modified: 2021-08-07 12:02 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
patch (1.22 KB, patch)
2021-08-07 12:02 UTC, Samanta Navarro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samanta Navarro 2021-08-07 12:02:46 UTC
Created attachment 9071 [details]
patch

The xread function must be able to differentiate between an incomplete
read and an invalid argument (SIZE_MAX could never fit into memory).