News for hackers. Stuff that matters.
Re:Althttpd: Simple webserver in a single C file by lmilcin on Tuesday June 08, 2021 @11:44AM (#27436657)
ASN.1 is not a binary protocol. It is a language to describe messages.

Typically you create message description which is then compiled to code that can serialize/deserialize messages in BER-TLV or PER-TLV.

I know because I wrote a complete parser/serializer for BER-TLV. It is simple protocol and any security issue is in the parser/serializer and not the protocol itself. That for simple reason that the protocol is nothing more than a format to serialize/deserialize the data.

Re:Althttpd: Simple webserver in a single C file by lmz on Tuesday June 08, 2021 @07:33PM (#27442442)
True, but they certainly don't make it too easy either with the indefinite length constructs.