stronglink icon indicating copy to clipboard operation
stronglink copied to clipboard

Robust parsing

Open btrask opened this issue 9 years ago • 1 comments

Right now our user query parser and our content-disposition parser use lots of raw pointer manipulation. This is obviously a bad idea.

One example of a parser that is designed to be secure is Nom, from the VLC project. It's written in Rust, which we could either embed in C (if we don't mind the dependency) or port/learn from.

btrask avatar Jun 17 '15 20:06 btrask

One option is the Lemon parser generator from SQLite: https://www.sqlite.org/arch.html

btrask avatar Aug 23 '15 22:08 btrask