ChangeSet ID: 21559 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@winehq.org 2005/11/30 06:00:21
Modified files: dlls/msi : registry.c
Log message: Robert Shearman rob@codeweavers.com The buffer sizes in the documentation for MsiDecomposeDescriptorW don't include the NULL terminator, so fix this.
Patch: http://cvs.winehq.org/patch.py?id=21559
Old revision New revision Changes Path 1.16 1.17 +3 -3 wine/dlls/msi/registry.c
Index: wine/dlls/msi/registry.c diff -u -p wine/dlls/msi/registry.c:1.16 wine/dlls/msi/registry.c:1.17 --- wine/dlls/msi/registry.c:1.16 30 Nov 2005 12: 0:21 -0000 +++ wine/dlls/msi/registry.c 30 Nov 2005 12: 0:21 -0000 @@ -502,9 +502,9 @@ UINT MSIREG_OpenUserUpgradeCodesKey(LPCW * * PARAMS * szDescriptor [I] the descriptor to decompose - * szProduct [O] buffer of MAX_FEATURE_CHARS for the product guid - * szFeature [O] buffer of MAX_FEATURE_CHARS for the feature code - * szComponent [O] buffer of MAX_FEATURE_CHARS for the component guid + * szProduct [O] buffer of MAX_FEATURE_CHARS+1 for the product guid + * szFeature [O] buffer of MAX_FEATURE_CHARS+1 for the feature code + * szComponent [O] buffer of MAX_FEATURE_CHARS+1 for the component guid * pUsed [O] the length of the descriptor * * RETURNS