--- a/pidgin/win32/untar.c Sat Mar 01 17:00:29 2014 -0800
+++ b/pidgin/win32/untar.c Sat Mar 01 17:04:55 2014 -0800
@@ -392,22 +392,22 @@
/* combine prefix and filename */
memset(nbuf, 0, sizeof nbuf);
- snprintf(name, sizeof(name), "%s/%s",
+ snprintf(nbuf, sizeof(nbuf), "%s/%s", (tblk)->prefix, (tblk)->filename);
- g_strlcpy(name, (tblk)->filename,
+ g_strlcpy(nbuf, (tblk)->filename, /* Convert any backslashes to forward slashes, and guard
* against doubled-up slashes. (Some DOS versions of "tar"
* get this wrong.) Also strip off leading slashes.
if (!ABSPATH && (*name == '/' || *name == '\\'))
for (n2 = nbuf; *name; name++)