Re: general protection fault in asn1_ber_decoder

From: David Howells
Date: Tue Nov 07 2017 - 08:08:14 EST


Eric Biggers <ebiggers3@xxxxxxxxx> wrote:

> Hi David, you just beat me to it, but I don't think this is the best way to
> fix the problem. The length check just needs to be rewritten to not
> overflow. Also it seems there is another broken length check later in the
> function. How about this:

Okay, fair enough. Do you mind if I trim your register dump a bit?

David