Remix.run Logo
boramalper 12 hours ago

Untrusted doesn’t always mean adversarial IMO, even a bitrot can invalidate your entire input and possibly also trigger undefined behaviour if you aren’t prepared to handle that.

cwmoore 12 hours ago | parent | next [-]

UB = "undefined behavior", thanks

leptons 11 hours ago | parent | prev [-]

I was using a checksum to protect against "bitrot" since this was over a very noisy serial transmission line (over a slip ring). So, no, there was no "undefined behavior" and it's quite easy to avoid.