News for hackers. Stuff that matters.
Re:Fast UTF-8 validation by a1369209993 on Tuesday October 20, 2020 @04:57PM (#24842289)
> may wish to operate on entire codepoints instead of always checking for potential end of buffer mid-decoding

That sounds like the sort of reasoning that results in compiler bugs like:

  thing_t* nextp=p+1;
  // other declarations for this function
  if(!p) abort_thing("null pointer"); // optimised out
  /* CVE-20XX-#####: user-space code can compromise kernel $THING if it mmap()s $STUFF at address zero */

There are no comments on this comment yet.