1665N/AThe 32 bit field "rep.length" is not checked for validity, which allows
1665N/A src/Region.c | 15 ++++++++++++---
1665N/A #include "Xfixesint.h"
1665N/A bounds->height = rep.height;
1665N/A- nbytes = (long) rep.length << 2;
1665N/A- nrects = rep.length >> 1;
1665N/A+ if (rep.length < (INT_MAX >> 2)) {
1665N/A+ nbytes = (long) rep.length << 2;
1665N/A+ nrects = rep.length >> 1;
1665N/A _XEatDataWords(dpy, rep.length);