Summary: | POSIX compliance: writev does not return EINVAL when iovcnt == 0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Alan Somers <asomers> | ||||
Component: | kern | Assignee: | Alan Somers <asomers> | ||||
Status: | Closed Not A Bug | ||||||
Severity: | Affects Many People | CC: | kevans | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Alan Somers
2021-01-10 04:28:56 UTC
Created attachment 221435 [details]
return EINVAL from writev and friends if iovcnt = 0
Actually, on closer inspection POSIX says that writev "may fail", not "shall fail" if iovcnt is out of bounds. So I guess this isn't a bug after all. |