Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at expandos.c:719

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 769.26215
Procedure: expandos_deinit
Trace: view
Modified: Thu Nov 26 10:57:38 2009   show details
 
Priority: None
State: None
Finding: None
Owner: None
  edit properties

Legend [ X ]
Warning Location
Contributes
Parse Error
Other Warning
Two or More Loop Iterations
On Execution Path
Comment
Macro
Preprocessor
Include
Keyword
Preprocessed Away

Source  |  Language: C Hide Legend     
ProblemLineSource
   /kat0/fletcher/SATE/2010/irssi-0.8.14/src/core/expandos.c
   Enter expandos_deinit
 709  
 710         g_hash_table_foreach_remove(expandos, free_expando, NULL);
 711         g_hash_table_destroy(expandos);
 712  
 713         g_free_not_null(last_sent_msg); g_free_not_null(last_sent_msg_body);
 714         g_free_not_null(last_privmsg_from); g_free_not_null(last_public_from);
 715         g_free_not_null(sysname); g_free_not_null(sysrelease);
 716         g_free_not_null(sysarch);
 717  
 718         g_source_remove(timer_tag);
Wrong Number of Parameters719         signal_remove("message public", (SIGNAL_FUNC) sig_message_public);     /* Dangerous Function Cast */
 720         signal_remove("message private", (SIGNAL_FUNC) sig_message_private);   /* Dangerous Function Cast (ID: 768.26214) */
 721         signal_remove("message own_private", (SIGNAL_FUNC) sig_message_own_private);   /* Dangerous Function Cast (ID: 767.26213) */
 722         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 766.26212) */
 723 } 




Change Warning 769.26215 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: