When decoding a sequence/set, make sure that:
authormartijn <martijn@openbsd.org>
Thu, 3 Nov 2022 17:58:10 +0000 (17:58 +0000)
committermartijn <martijn@openbsd.org>
Thu, 3 Nov 2022 17:58:10 +0000 (17:58 +0000)
commit469af3a4b67e978e62567db985a1ba33c9680e12
treee45c265f361411545f6ea1cf1b8f72b5a6fba4da
parent6c990225348d105e2bc2942d30c58a2895d4638d
When decoding a sequence/set, make sure that:
- We don't create an uninitialized element when there are no subelements to
  decode
- If subelements overflow we return EINVAL

While here fix an eyesore of a line continuation.

OK claudio@
lib/libutil/ber.c