Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

Re: [PATCH] vsprintf: Make "null" pointer dereference more robust

$
0
0
Linus Torvalds writes: (Summary) We'll still take the fauly, still do vmalloc fault filling, still do a *lot* of potentially really complicated things.
complicated things.
Guys, stop this idiocy. They are special because NULL is special.
because NULL is special.
THEY ARE NOT SPECIAL BECAUSE IT CAUSES FAULTS.
THEY ARE NOT SPECIAL BECAUSE IT CAUSES FAULTS.
The top "small negative numbers" are special, because the kernel extensively uses the ERR_PTR model, and that is how we encode it. THEY ARE NOT SPECIAL BECAUSE THEY CAUSE FAULTS.
THEY ARE NOT SPECIAL BECAUSE THEY CAUSE FAULTS.
Thinking that "this address causes faults is special" is moronic.

Viewing all articles
Browse latest Browse all 864

Trending Articles