/pidgin/main: 091d710e14c3: Fix coverity 732034 (CWE-484) again

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue May 6 07:56:09 EDT 2014


Changeset: 091d710e14c322bb143627ddbb7dd06f7a0b8b31
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-05-06 13:56 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/091d710e14c3

Description:

Fix coverity 732034 (CWE-484) again

diffstat:

 libpurple/plugins/tcl/tcl_signals.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/plugins/tcl/tcl_signals.c b/libpurple/plugins/tcl/tcl_signals.c
--- a/libpurple/plugins/tcl/tcl_signals.c
+++ b/libpurple/plugins/tcl/tcl_signals.c
@@ -188,6 +188,7 @@ static void *tcl_signal_callback(va_list
 			/* treat this as a pointer, but complain first */
 			purple_debug(PURPLE_DEBUG_ERROR, "tcl", "unknown PurpleValue type %d\n",
 				   purple_value_get_type(handler->argtypes[i]));
+			/* fall through */
 		case PURPLE_TYPE_POINTER:
 		case PURPLE_TYPE_OBJECT:
 		case PURPLE_TYPE_BOXED:



More information about the Commits mailing list