If the total amount of memory assigned to quarantine is less than the
amount of memory assigned to per-cpu quarantines, |new_quarantine_size|
may overflow. Instead, set it to zero.
[akpm@linux-foundation.org: cleanup: use WARN_ONCE return value]
Link: http://lkml.kernel.org/r/1470063563-96266-1-git-send-email-glider@google.com
Fixes:
|
||
|---|---|---|
| .. | ||
| kasan.c | ||
| kasan.h | ||
| kasan_init.c | ||
| Makefile | ||
| quarantine.c | ||
| report.c | ||