/pidgin/main: a2d2f84aef2c: This should make coverity and scan-b...

Gary Kramlich grim at reaperworld.com
Tue May 10 23:10:34 EDT 2016


Changeset: a2d2f84aef2c3a2c23d7378e2b6f15623f31f199
Author:	 Gary Kramlich <grim at reaperworld.com>
Date:	 2016-05-06 09:39 -0500
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/a2d2f84aef2c

Description:

This should make coverity and scan-build happier

diffstat:

 libpurple/tls-certificate-info.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/tls-certificate-info.c b/libpurple/tls-certificate-info.c
--- a/libpurple/tls-certificate-info.c
+++ b/libpurple/tls-certificate-info.c
@@ -382,7 +382,7 @@ der_parse_time(DerNodeData *node)
 	g_return_val_if_fail(node != NULL, NULL);
 	g_return_val_if_fail(node->content != NULL, NULL);
 
-	memset(time_parts, 0, sizeof(gint) * sizeof(time_parts));
+	memset(time_parts, 0, sizeof(time_parts));
 
 	time = der_parse_string(node);
 



More information about the Commits mailing list