Ignore:
Timestamp:
Jan 21, 2004, 2:49:26 PM (18 years ago)
Author:
Sam Hocevar
Message:
  • src/graphics.c: + Fixed a buffer overflow due to bad signed/unsigned handling.
  • src/event.c: + Disallow zero width or height in the X11 driver. + Fixed resizing in ncurses and slang.
  • THANKS: + Added the Source Mage maintainer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/graphics.c

    r354 r357  
    444444    if(x < 0)
    445445    {
     446        if(len < (unsigned int)-x)
     447            return;
    446448        len -= -x;
    447         if(len < 0)
    448             return;
    449449        s += -x;
    450450        x = 0;
Note: See TracChangeset for help on using the changeset viewer.