1 --- XFree86-4.0/xc/lib/X11/OpenDis.c.moresecurity Wed Jun 28 18:54:22 2000
2 +++ XFree86-4.0/xc/lib/X11/OpenDis.c Wed Jun 28 18:54:58 2000
4 * now extract the vendor string... String must be null terminated,
5 * padded to multiple of 4 bytes.
7 + /* Check for a sane vendor string length */
8 + if (u.setup->nbytesVendor > 256) {
9 + OutOfMemory(dpy, setup);
12 dpy->vendor = (char *) Xmalloc((unsigned) (u.setup->nbytesVendor + 1));
13 if (dpy->vendor == NULL) {
14 OutOfMemory(dpy, setup);