Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at fe-dcc-chat.c:381

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 4720.27404
Procedure: fe_dcc_chat_deinit
Trace: view
Modified: Thu Nov 26 11:02:37 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/fe-common/irc/dcc/fe-dcc-chat.c
   Enter fe_dcc_chat_deinit
 371         signal_remove("dcc ctcp action", (SIGNAL_FUNC) dcc_chat_action);   /* Dangerous Function Cast (ID: 4729.27413) */
 372         signal_remove("default dcc ctcp", (SIGNAL_FUNC) dcc_chat_ctcp);   /* Dangerous Function Cast (ID: 4728.27412) */
 373         signal_remove("dcc error ctcp", (SIGNAL_FUNC) dcc_error_ctcp);   /* Dangerous Function Cast (ID: 4727.27411) */
 374         signal_remove("default ctcp msg dcc", (SIGNAL_FUNC) dcc_unknown_ctcp);
 375         signal_remove("default ctcp reply dcc", (SIGNAL_FUNC) dcc_unknown_reply);   /* Dangerous Function Cast (ID: 4726.27410) */
 376         signal_remove("dcc destroyed", (SIGNAL_FUNC) sig_dcc_destroyed);   /* Dangerous Function Cast (ID: 4725.27409) */
 377         signal_remove("query destroyed", (SIGNAL_FUNC) sig_query_destroyed);   /* Dangerous Function Cast (ID: 4724.27408) */
 378         signal_remove("dcc list print", (SIGNAL_FUNC) sig_dcc_list_print);   /* Dangerous Function Cast (ID: 4723.27407) */
 379         command_unbind("msg", (SIGNAL_FUNC) cmd_msg);   /* Dangerous Function Cast (ID: 4722.27406) */
 380         command_unbind("me", (SIGNAL_FUNC) cmd_me);   /* Dangerous Function Cast (ID: 4721.27405) */
Wrong Number of Parameters381         command_unbind("action", (SIGNAL_FUNC) cmd_action);     /* Dangerous Function Cast */
 382         command_unbind("ctcp", (SIGNAL_FUNC) cmd_ctcp);   /* Dangerous Function Cast (ID: 4735.27419) */
 383         signal_remove("dcc error close not found", (SIGNAL_FUNC) dcc_error_close_not_found);   /* Dangerous Function Cast (ID: 4734.27418) */
 384 } 




Change Warning 4720.27404 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: