Wuffs looks pretty awesome. Thanks for making it.
Wuffs is intended for files. But, would it be a bad idea to use it to parse network data from untrusted endpoints?
Wuffs looks pretty awesome. Thanks for making it.
Wuffs is intended for files. But, would it be a bad idea to use it to parse network data from untrusted endpoints?
It's a great idea. Chromium uses Wuffs to parse GIF data from the untrusted network.
There's also a "wget some JSON and pipe that to what Wuffs calls example/jsonptr" example at https://nigeltao.github.io/blog/2020/jsonptr.html#sandboxing