[Libpst-devel] readpst.c incorrectly handles \n in VCARDS
Nigel Horne
njh at bandsman.co.uk
Tue May 2 09:45:16 UTC 2006
rfc2426_escape incorrectly handles newlines in the middle of the input
data. Patch:
*** Oreadpst.c Tue May 2 10:42:58 2006
--- readpst.c Tue May 2 10:43:15 2006
***************
*** 1423,1429 ****
case '\\':
case ';' :
case '\n':
! *(b++)='\\';
*b=*a;
break;
case '\r':
--- 1423,1429 ----
case '\\':
case ';' :
case '\n':
! *b++ = '\\';
*b=*a;
break;
case '\r':
-Nigel Horne
More information about the Libpst-devel
mailing list