[PATCH 05/11] hornet: gen_sig: fix off-by-one check for used maps

Paul Moore paul at paul-moore.com
Fri May 29 18:54:47 UTC 2026


On Fri, May 29, 2026 at 2:03 PM Blaise Boscaccy
<bboscaccy at linux.microsoft.com> wrote:
> Paul Moore <paul at paul-moore.com> writes:
>
> > On Wed, May 27, 2026 at 11:09 PM Blaise Boscaccy
> > <bboscaccy at linux.microsoft.com> wrote:
> >>
> >> A logic bug limited the maximum number of used maps to
> >> MAX_USED_MAPS-1.
> >
> > Should this be MAX_HASHES-1 and not MAX_USED_MAPS-1?
>
> Good eye. Yes that should be MAX_HASHES-1 in the commit message.

Okay, I'll fix that up when merging.

-- 
paul-moore.com



More information about the Linux-security-module-archive mailing list