With the help of Rasmus Villemoes, Matthew Wilcox, and others, allocation overflow checking has landed in the kernel: http://lkml.kernel.org/r/20180612233552.GA25041@beast … While opt-in, hopefully it kills some undiscovered flaws and educates on the use of the new struct_size() & array_size() helpers
-
Show this thread
I want to also call out @silviocesare for inspriring me to elevate the priority of this work. He found several overflows recently in places that could have been trivially avoided had developers been using safe allocation forms or the new helpers had been available.
12:33 PM - 13 Jun 2018
0 replies
5 retweets
34 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.