Fix range checks with -offset and -length in asn1parse
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 2 Apr 2018 07:13:49 +0000 (09:13 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 3 Apr 2018 14:08:44 +0000 (16:08 +0200)
commit82ff31d3e78413677023ac04a4a5ff94f2371a24
tree897adc1ad0ac70da559b2ed5c7672af13ac2f388
parent477e40b48c5a2d5f9ba597cea2f2e2eb77e9347a
Fix range checks with -offset and -length in asn1parse

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/5826)

(cherry picked from commit 16e1eea6a67c85c9d786f3c4448182b1aca101b8)
apps/asn1pars.c