Skip to content
Permalink
Browse files
strcpy/strcat fix, backported from devbranch.
  • Loading branch information
icculus committed Oct 30, 2004
1 parent c5bf5c1 commit 4b036dc0a2930505cec88fdf55f7670bec81568c
Showing with 5 additions and 1 deletion.
  1. +1 −0 CHANGELOG
  2. +3 −0 CREDITS
  3. +1 −1 physfs.c
@@ -4,6 +4,7 @@

-- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---

10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
09212003 - Happy September. Fixes to bootstrap on MacOS X. Seeking now tries
to respect pre-buffered data.

@@ -64,6 +64,9 @@ HOG archiver,
MVL archiver,
Bradley Bell

Bug fixes:
Tolga Dalman

Other stuff:
Your name here! Patches go to icculus@clutteredmind.org ...

@@ -1224,7 +1224,7 @@ char * __PHYSFS_convertToDependent(const char *prepend,
if (append)
{
strcat(str, dirsep);
strcpy(str, append);
strcat(str, append);
} /* if */

return(str);

0 comments on commit 4b036dc

Please sign in to comment.