Re: [PATCH] Fix NR_KEYS off-by-one error
From: OGAWA Hirofumi
Date: Tue Jul 27 2004 - 11:42:27 EST
Vojtech Pavlik <vojtech@xxxxxxx> 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@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/