]> git.pld-linux.org Git - packages/libxml.git/blob - libxml-CAN-2004-0989.patch
- added bcond_without static_libs
[packages/libxml.git] / libxml-CAN-2004-0989.patch
1 CAN-2004-0989 fix: backport of nano* changes between 2.6.14 and 2.6.15
2 --- libxml2-2.4.24/nanoftp.c.orig       2004-10-28 11:50:39.000000000 +0200
3 +++ libxml2-2.4.24/nanoftp.c    2004-10-28 12:15:49.000000000 +0200
4 @@ -877,6 +877,9 @@
5      if (hp == NULL)
6          return(-1);
7  
8 +    if ((unsigned int) hp->h_length > sizeof(ctxt->ftpAddr.sin_addr))
9 +           return(-1); /* gethostbyname address mismatch */
10 +
11      /*
12       * Prepare the socket
13       */
This page took 0.04228 seconds and 3 git commands to generate.