4 ms·
I see, so the implementations basically read past the end of the string as long as it won't cross a page boundary and cause a memory protection fault. It's tech
by sgtnoodle 6y ago
I see, so the implementations basically read past the end of the string as long as it won't cross a page boundary and cause a memory protection fault. It's technically a buffer overflow, but since the implementations are architecture specific, it's safe to do. I wonder if there are memory sanitizers that would complain about that sort of access?
- deleted 6y ago[deleted]