[svn] GnuPG - r4110 - trunk/util
svn author dshaw
cvs at cvs.gnupg.org
Mon Apr 17 22:54:16 CEST 2006
Author: dshaw
Date: 2006-04-17 22:54:15 +0200 (Mon, 17 Apr 2006)
New Revision: 4110
Modified:
trunk/util/ChangeLog
trunk/util/miscutil.c
Log:
* miscutil.c (make_printable_string): Fix bug where some control
characters lose part of their ASCII representation.
Modified: trunk/util/ChangeLog
===================================================================
--- trunk/util/ChangeLog 2006-04-14 20:40:00 UTC (rev 4109)
+++ trunk/util/ChangeLog 2006-04-17 20:54:15 UTC (rev 4110)
@@ -1,3 +1,8 @@
+2006-04-17 David Shaw <dshaw at jabberwocky.com>
+
+ * miscutil.c (make_printable_string): Fix bug where some control
+ characters lose part of their ASCII representation.
+
2006-04-11 David Shaw <dshaw at jabberwocky.com>
* memory.c (realloc): Revert m_guard fix and stick an #error in
Modified: trunk/util/miscutil.c
===================================================================
--- trunk/util/miscutil.c 2006-04-14 20:40:00 UTC (rev 4109)
+++ trunk/util/miscutil.c 2006-04-17 20:54:15 UTC (rev 4110)
@@ -313,7 +313,7 @@
*d++ = '0';
else {
sprintf(d, "x%02x", *p );
- d += 2;
+ d += 3;
}
}
else
More information about the Gnupg-commits
mailing list