Re:Simple Linux kernel memory corruption bug can lead to com...
by DSMan195276 on Wednesday October 20, 2021 @09:45AM
(#28930602)
The problem is that it's not that simple. A NULL check might only become redundant after various rounds of inlining and optimizing, and the same NULL check could be redundant in one usage and necessary in the other. It's also very likely that changes to other parts of the code will make a previously 'redundant' NULL check now necessary, and obviously you're unlikely to get a warning in that direction.
[ Parent
| on HN ]
There are no comments on this comment yet.