3 ms·
I think the lesson here is to stop using signed integer as an index into an array.
by t0suj4 4y ago
I think the lesson here is to stop using signed integer as an index into an array.
- eru 4y agoThe lesson is to only use C when absolutely necessary, and regularly use all the sanitizers and other safety tools you can find. Not just when you suspect something fishy.
- sanxiyn 4y agoThe lesson is you shouldn't use standard C, until the standard is fixed. Until then, compile with -fno-strict-overflow, like I do.