Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at fe-dcc-send.c:180

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2474.27460
Procedure: fe_dcc_send_deinit
Trace: view
Modified: Thu Nov 26 11:02:52 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-send.c
   Enter fe_dcc_send_deinit
 170         signal_add("dcc error send no route", (SIGNAL_FUNC) dcc_error_send_no_route);   /* Dangerous Function Cast (ID: 2458.27453) */
 171         signal_add("dcc error close not found", (SIGNAL_FUNC) dcc_error_close_not_found);   /* Dangerous Function Cast (ID: 2455.27452) */
 172         signal_add("complete command dcc send", (SIGNAL_FUNC) sig_dcc_send_complete);   /* Dangerous Function Cast (ID: 2453.27451) */
 173         signal_add("dcc list print", (SIGNAL_FUNC) sig_dcc_list_print);   /* Dangerous Function Cast (ID: 2446.27450) */
 174 }
 175  
 176 void fe_dcc_send_deinit(void) 
 177 {
 178         signal_remove("dcc connected", (SIGNAL_FUNC) dcc_connected);   /* Dangerous Function Cast (ID: 2479.27462) */
 179         signal_remove("dcc closed", (SIGNAL_FUNC) dcc_closed);   /* Dangerous Function Cast (ID: 2477.27461) */
Wrong Number of Parameters180         signal_remove("dcc error file open", (SIGNAL_FUNC) dcc_error_file_open);     /* Dangerous Function Cast */
 181         signal_remove("dcc error send exists", (SIGNAL_FUNC) dcc_error_send_exists);   /* Dangerous Function Cast (ID: 2472.27459) */
 182         signal_remove("dcc error send no route", (SIGNAL_FUNC) dcc_error_send_no_route);   /* Dangerous Function Cast (ID: 2470.27458) */
 183         signal_remove("dcc error close not found", (SIGNAL_FUNC) dcc_error_close_not_found);   /* Dangerous Function Cast (ID: 2468.27457) */
 184         signal_remove("complete command dcc send", (SIGNAL_FUNC) sig_dcc_send_complete);   /* Dangerous Function Cast (ID: 2465.27456) */
 185         signal_remove("dcc list print", (SIGNAL_FUNC) sig_dcc_list_print);   /* Dangerous Function Cast (ID: 2482.27463) */
 186 } 




Change Warning 2474.27460 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: