Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at netsplit.c:436

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1250.26696
Procedure: netsplit_deinit
Trace: view
Modified: Thu Nov 26 10:59: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/irc/core/netsplit.c
   Enter netsplit_deinit
 426         signal_add("server disconnected", (SIGNAL_FUNC) sig_disconnected);   /* Dangerous Function Cast (ID: 1247.26693) */
 427 }
 428  
 429 void netsplit_deinit(void) 
 430 {
 431         g_source_remove(split_tag);
 432         signal_remove("event join", (SIGNAL_FUNC) event_join);   /* Dangerous Function Cast (ID: 1249.26695) */
 433         signal_remove("event join", (SIGNAL_FUNC) event_join_last);   /* Dangerous Function Cast (ID: 1248.26694) */
 434         signal_remove("event quit", (SIGNAL_FUNC) event_quit);   /* Dangerous Function Cast (ID: 1252.26698) */
 435         signal_remove("event nick", (SIGNAL_FUNC) event_nick);   /* Dangerous Function Cast (ID: 1251.26697) */
Wrong Number of Parameters436         signal_remove("server disconnected", (SIGNAL_FUNC) sig_disconnected);     /* Dangerous Function Cast */
 437 } 




Change Warning 1250.26696 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: