• Mike Gabriel's avatar
    Avoid large pixmaps (110_nxagent_createpixmap-bounds-check.full.patch). · 47122390
    Mike Gabriel authored
      It is allowed to try and allocate a pixmap which is larger than
      32767 in either dimension. However, all of the framebuffer code
      is buggy and does not reliably draw to such big pixmaps, basically
      because the Region data structure operates with signed shorts
      for the rectangles in it.
    
      Furthermore, several places in the X server computes the
      size in bytes of the pixmap and tries to store it in an
      integer. This integer can overflow and cause the allocated size
      to be much smaller.
    
      So, such big pixmaps are rejected here with a BadAlloc
    
      Originally contributed by FreeNX Team
    47122390
Name
Last commit
Last update
..
config Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
programs Loading commit data...
BUILD Loading commit data...
CHANGELOG Loading commit data...
COPYING Loading commit data...
ChangeLog.X.org Loading commit data...
Imakefile Loading commit data...
LABEL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
README.crypto Loading commit data...
RELNOTES Loading commit data...
registry Loading commit data...
xf86Date.h Loading commit data...