[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240302115241.GA7494@breakpoint.cc>
Date: Sat, 2 Mar 2024 12:52:41 +0100
From: Florian Westphal <fw@...len.de>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: Lena Wang (王娜) <Lena.Wang@...iatek.com>,
"fw@...len.de" <fw@...len.de>,
"davem@...emloft.net" <davem@...emloft.net>,
"kadlec@...filter.org" <kadlec@...filter.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"netfilter-devel@...r.kernel.org" <netfilter-devel@...r.kernel.org>
Subject: Re: [PATCH net v2] netfilter: Add protection for bmp length out of
range
Pablo Neira Ayuso <pablo@...filter.org> 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.
Powered by blists - more mailing lists