Re: [PATCH] netlink: fix overrun in attribute iteration

From: Andrew Morton
Date: Thu Sep 11 2008 - 19:53:28 EST


On Thu, 11 Sep 2008 22:59:33 +0200
Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:

> #include <stdio.h>
>
> main(void)
> {
> printf("%d\n", -1 >= sizeof(int));
> }
>

akpm:/home/akpm> gcc -W t.c
t.c: In function 'main':
t.c:5: warning: comparison between signed and unsigned

Make of that what you will :)
--
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/