libiec61850 v1.5 exists to contain a heap overflow via the BerEncoder_encodeLength function at /asn1/ber_encoder.c.