Memory allocation bug in dlls/comctl32/propsheet.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Changelog:
  Fixed memory allocation bug in PROPSHEET_CollectPageInfo
 
Maciek Kaliszewski
--- wine/dlls/comctl32/propsheet.c~	Sun May 26 23:55:33 2002
+++ wine/dlls/comctl32/propsheet.c	Mon May 27 16:22:11 2002
@@ -483,7 +483,7 @@
     else
       pTitle = lppsp->pszTitle;
 
-    len = strlenW(szTitle);
+    len = strlenW(pTitle);
     psInfo->proppage[index].pszText = COMCTL32_Alloc( (len+1)*sizeof (WCHAR) );
     strcpyW( (LPWSTR)psInfo->proppage[index].pszText,pTitle);
   }

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux