Bug 195697
Summary: | reading 0 bytes first from /proc files causes corrupt reads later | ||
---|---|---|---|
Product: | File System | Reporter: | Szabolcs Nagy (nsz) |
Component: | Other | Assignee: | fs_other |
Status: | NEW --- | ||
Severity: | normal | CC: | nsz |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.10 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Szabolcs Nagy
2017-05-09 11:49:11 UTC
strcmp in the test should be memcmp(buf1,buf2,300) or similar, my bad. forgot to mention that this affects musl libc based userspace as it uses readv in its stdio where the first iov buf can have 0 length which exhibit the same broken behaviour. |