erlang/otp — pull request #487 by bjorng (2014-09-29 11:20:49+00:00)
Title: BER decoding: Don't allow primitives with indefinite lengths

According to the BER encoding rules, only constructed values may
have indefinite lengths. A primitive value must be encoded with
a definite length.

Reported-by: Simon Cornish