[Winpt-commits] r162 - trunk/Src

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 19 19:06:10 CET 2006


Author: twoaday
Date: 2006-01-19 19:06:10 +0100 (Thu, 19 Jan 2006)
New Revision: 162

Modified:
   trunk/Src/ChangeLog
   trunk/Src/wptGPGMEData.cpp
Log:


Modified: trunk/Src/ChangeLog
===================================================================
--- trunk/Src/ChangeLog	2006-01-19 16:10:37 UTC (rev 161)
+++ trunk/Src/ChangeLog	2006-01-19 18:06:10 UTC (rev 162)
@@ -7,6 +7,7 @@
 	* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
 	* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
 	if need after showing the properties.
+	* wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
 	
 2006-01-18  Timo Schulz  <ts at g10code.com>
 

Modified: trunk/Src/wptGPGMEData.cpp
===================================================================
--- trunk/Src/wptGPGMEData.cpp	2006-01-19 16:10:37 UTC (rev 161)
+++ trunk/Src/wptGPGMEData.cpp	2006-01-19 18:06:10 UTC (rev 162)
@@ -250,7 +250,7 @@
 void
 gpg_data_putc (gpgme_data_t hd, int c)
 {
-    BYTE ch[1];
+    BYTE ch[2];
 
     ch[0] = (BYTE)c;
     ch[1] = '\0';



More information about the Winpt-commits mailing list