mirror of
https://github.com/torvalds/linux.git
synced 2024-12-07 03:21:32 +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 |