28c3: The Science of Insecurity
28c3YouTube ↗
Further reading 1
Caption notes
Patterson treats input formats as languages. Recognizing an entire message before processing it limits ambiguities and unintended computation in parsers.
Original passages · 6
if you haven't recognized it don't goddamn process itparse those messages in exactly the same waytreat input handling computational power as privilege and reduce that privilegeyou cannot efficiently and effectively test or debug when you're when you're interminglingthe vast majority of vulnerabilities come from protocol and message format designsbe definite about what you accept treat inputs as a language