Reply to post: Undefined behavior anyways

Cloudbleed: Big web brands 'leaked crypto keys, personal secrets' thanks to Cloudflare bug

Anthill Beetle

Undefined behavior anyways

Your fix is wrong: any pointer comparison operator if one operand went out of memory location is undefined behavior in C. Either don't let it go past end of array, or switch to integer arithmetic.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2021