Re: [patch 2/2] fbcmap: integer overflow bug

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Geert Uytterhoeven
Date: Sunday, November 14, 2010 - 11:56 pm

On Mon, Nov 15, 2010 at 05:48, Paul Mundt <lethal@linux-sh.org> wrote:

Isn't that another integer overflow? I.e. should be "if (cmap->len >
INT_MAX / sizeof(u16))" instead?


Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] [patch] fbcmap: integer overflow bug, Dan Carpenter, (Wed Oct 27, 2:37 am)
Re: [RFC] [patch] fbcmap: integer overflow bug, Andrew Morton, (Fri Nov 5, 1:40 pm)
[patch 2/2] fbcmap: integer overflow bug, Dan Carpenter, (Sat Nov 13, 3:07 am)
Re: [patch 2/2] fbcmap: integer overflow bug, Paul Mundt, (Sun Nov 14, 9:48 pm)
Re: [patch 2/2] fbcmap: integer overflow bug, Geert Uytterhoeven, (Sun Nov 14, 11:56 pm)
Re: [patch 2/2] fbcmap: integer overflow bug, Dan Carpenter, (Mon Nov 15, 12:20 am)
Re: [patch 2/2] fbcmap: integer overflow bug, walter harms, (Mon Nov 15, 1:01 am)
[patch 2/2 v2] fbcmap: integer overflow bug, Dan Carpenter, (Tue Nov 16, 2:11 am)