mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 19:11:31 +00:00
447e56023f
If the test description is longer than the status alignment the
parameter 'n' to putcharn() would lead to a signed underflow that then
gets converted to a very large unsigned value.
This in turn leads out-of-bound writes in memset() crashing the
application.
The failure case of EXPECT_PTRER() used in "mmap_bad" exhibits this
exact behavior.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
nolibc-test.c |