Subject: Re: [PATCH net v2] netfilter: Add protection for bmp length out of range

From: Florian Westphal <[email-masked]>
Date: Sat, 2 Mar 2024 12:52:41 +0100

Pablo Neira Ayuso <[email-masked]> wrote:
> > +	if (f->sz > 32)
> > +		return H323_ERROR_RANGE;
> 
> Could you possibly place this in get_bitmap()? IIRC these are the only
> two calls to this function.

How would you signal the error?  I think this patch is fine as-is.