mirror of https://git.musl-libc.org/git/musl
Browse Source
fread was calling f->read without checking that the file was in reading mode. this could: 1. crash, if f->read was a null pointer 2. cause unwanted blocking on a terminal already at eof 3. allow reading on a write-only filers-1.0
1 changed files with 1 additions and 6 deletions
Loading…
Reference in new issue