mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 18:41:23 +00:00
9c5e490093
If read() fails and returns -1 (or returns garbage for some other reason) buf would be accessed out of bounds. Only use the return value of read() after it has been validated. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
nolibc-test.c |