Re:Out-of-bounds read and write in the glibc's qsort()
by CJefferson on Monday February 05, 2024 @01:52PM
(#39265246)
Gcc's std::sort has always had this "bug" for bad comparators, doing "x <= y" instead of "x < y" is enough to cause out of bounds read and writes. This isn't fixed because it's undefined behaviour.
[ Parent
| on HN ]
There are no comments on this comment yet.