Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at dcc-get.c:592

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1323.26770
Procedure: dcc_get_deinit
Trace: view
Modified: Thu Nov 26 10:59:57 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/dcc/dcc-get.c
   Enter dcc_get_deinit
 582         signal_add("dcc destroyed", (SIGNAL_FUNC) sig_dcc_destroyed);   /* Dangerous Function Cast (ID: 1321.26767) */
 583         signal_add("ctcp msg dcc send", (SIGNAL_FUNC) ctcp_msg_dcc_send);
 584         command_bind("dcc get", NULL, (SIGNAL_FUNC) cmd_dcc_get);   /* Dangerous Function Cast (ID: 1322.26768) */
 585 }
 586  
 587 void dcc_get_deinit(void) 
 588 {
 589         dcc_unregister_type("GET");
 590         signal_remove("dcc destroyed", (SIGNAL_FUNC) sig_dcc_destroyed);   /* Dangerous Function Cast (ID: 1324.26769) */
 591         signal_remove("ctcp msg dcc send", (SIGNAL_FUNC) ctcp_msg_dcc_send);
Wrong Number of Parameters592         command_unbind("dcc get", (SIGNAL_FUNC) cmd_dcc_get);     /* Dangerous Function Cast */
 593 } 




Change Warning 1323.26770 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: