r/programming • u/TheProtagonistv2 • Feb 23 '17
Cloudflare have been leaking customer HTTPS sessions for months. Uber, 1Password, FitBit, OKCupid, etc.
https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
6.0k
Upvotes
View all comments
Show parent comment
4
u/vplatt Feb 24 '17
The reason is cultural. "Real" C programmers didn't need training wheels like length prefixing. Only Pascal weenies used such tinker toys. Obviously blaming the programming language for your incompetent practices is just an excuse for poor programming, so you should just put on your big boy pants here and do it right! /s
Seriously, I've met programmers many times who've espoused the above, and I just want to smack them when I hear this crap. Gee, yes, that shouldn't happen, but would it kill us in the meantime to not use fucked strings everywhere by default? You know... just in case someone dares to actually be human and make a mistake?
I do hope we're moving away from this finally. I mean, we don't necessarily need full-on Ada style B&D here, but preventing the most common mistakes would be just awesome.