Diff for /embedaddon/libxml2/uri.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:37:58 version 1.1.1.2, 2013/07/22 01:22:20
Line 5 Line 5
  *   *
  * See Copyright for the status of this software.   * See Copyright for the status of this software.
  *   *
    * TODO: that module behaves really badly on OOM situation
    *
  * daniel@veillard.com   * daniel@veillard.com
  */   */
   
Line 1604  xmlNormalizeURIPath(char *path) { Line 1606  xmlNormalizeURIPath(char *path) {
           break;            break;
         }          }
         /* Valgrind complained, strcpy(cur, segp + 3); */          /* Valgrind complained, strcpy(cur, segp + 3); */
        /* string will overlap, do not use strcpy */        /* string will overlap, do not use strcpy */
        tmp = cur;        tmp = cur;
        segp += 3;        segp += 3;
        while ((*tmp++ = *segp++) != 0);        while ((*tmp++ = *segp++) != 0)
           ;
   
         /* If there are no previous segments, then keep going from here.  */          /* If there are no previous segments, then keep going from here.  */
         segp = cur;          segp = cur;

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>