/pidgin/main: f0861dc04cf3: ACTUALLY use size of destination buf...

Mark Doliner mark at kingant.net
Wed Oct 22 10:20:23 EDT 2014


Changeset: f0861dc04cf3e37a79a9433e216e6400eab47fb8
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2014-03-01 17:00 -0800
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/f0861dc04cf3

Description:

ACTUALLY use size of destination buffer.

Whoops :-P

diffstat:

 pidgin/win32/untar.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/pidgin/win32/untar.c b/pidgin/win32/untar.c
--- a/pidgin/win32/untar.c
+++ b/pidgin/win32/untar.c
@@ -401,7 +401,7 @@ static int untar_block(Uchar_t *blk) {
 		else
 		{
 			g_strlcpy(name, (tblk)->filename,
-				sizeof (tblk)->filename);
+				sizeof (name));
 		}
 
 		/* Convert any backslashes to forward slashes, and guard



More information about the Commits mailing list