Index: ossp-pkg/xds/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/xds/ChangeLog,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/xds/ChangeLog,v' 2>/dev/null --- ChangeLog 2004/09/12 17:32:14 1.5 +++ ChangeLog 2005/06/02 18:43:06 1.6 @@ -11,6 +11,12 @@ This is a list of all source changes to OSSP xds. For less details please have a look at the NEWS file. + Changes between 0.9.1 and 0.9.2 (17-Sep-2004 to xx-xxx-2005) + + o Fix XDR string decoding function by NUL terminating + the target buffer (instead of the source buffer). + [Unknown ] + Changes between 0.9.0 and 0.9.1 (17-Feb-2003 to 12-Sep-2004) o Fixed a few size_t/int conflicts and uninitialized value warnings. Index: ossp-pkg/xds/xds_engine_xdr.c RCS File: /v/ossp/cvs/ossp-pkg/xds/xds_engine_xdr.c,v rcsdiff -q -kk '-r1.15' '-r1.16' -u '/v/ossp/cvs/ossp-pkg/xds/xds_engine_xdr.c,v' 2>/dev/null --- xds_engine_xdr.c 2004/09/12 17:32:14 1.15 +++ xds_engine_xdr.c 2005/06/02 18:43:06 1.16 @@ -696,7 +696,7 @@ /* Copy data into the buffer. */ memmove(*p, (xds_uint8_t *)buffer + 4, p_len); - ((xds_uint8_t *)buffer)[4 + p_len] = '\0'; + (*p)[p_len] = '\0'; return XDS_OK; }