diff -ur was/dlls/ole32/storage32.c is/dlls/ole32/storage32.c --- was/dlls/ole32/storage32.c Mon Feb 4 17:31:22 2002 +++ is/dlls/ole32/storage32.c Tue Feb 5 22:11:20 2002 @@ -5615,7 +5615,7 @@ /* prepare the file name string given in lieu of the root property name */ GetFullPathNameW(pwcsName, MAX_PATH, fullname, NULL); memcpy(newStorage->filename, fullname, PROPERTY_NAME_BUFFER_LEN); - newStorage->filename[PROPERTY_NAME_BUFFER_LEN] = '\0'; + newStorage->filename[PROPERTY_NAME_BUFFER_LEN-1] = '\0'; /* * Get an "out" pointer for the caller.