Re: [PATCH] Fix NR_KEYS off-by-one error

OGAWA Hirofumi
2004-07-27T16:38:21Z

Vojtech Pavlik <vojtech@suse.cz> writes:

> > This all seems a bit inconclusive. Do we proceed with the original patch
> > or not? If not, how do we fix the overflow which Hirofumi has identified?
>
> I think we should check the value in the ioctl, regardless of what's
> NR_KEYS defined to.

However, it breaks the current binary instead. (at least
console-tools, kbdutils).
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>