Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-server.c:401

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1034.1034
Procedure: fe_server_deinit
Trace: View
Modified: Wed Sep 2 11:38:31 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
   /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/fe-common/core/fe-server.c
   Enter fe_server_deinit
 391 {
 392         command_unbind("server", (SIGNAL_FUNC) cmd_server);   /* Dangerous Function Cast (ID: 1042.1042) */
 393         command_unbind("server connect", (SIGNAL_FUNC) cmd_server_connect);   /* Dangerous Function Cast (ID: 1041.1041) */
 394         command_unbind("server add", (SIGNAL_FUNC) cmd_server_add);   /* Dangerous Function Cast (ID: 1040.1040) */
 395         command_unbind("server remove", (SIGNAL_FUNC) cmd_server_remove);   /* Dangerous Function Cast (ID: 1039.1039) */
 396         command_unbind("server", (SIGNAL_FUNC) server_command);   /* Dangerous Function Cast (ID: 1038.1038) */
 397         command_unbind("disconnect", (SIGNAL_FUNC) server_command);   /* Dangerous Function Cast (ID: 1037.1037) */
 398  
 399         signal_remove("server looking", (SIGNAL_FUNC) sig_server_looking);   /* Dangerous Function Cast (ID: 1036.1036) */
 400         signal_remove("server connecting", (SIGNAL_FUNC) sig_server_connecting);   /* Dangerous Function Cast (ID: 1035.1035) */
Wrong Number of Parameters401         signal_remove("server connected", (SIGNAL_FUNC) sig_server_connected);     /* Dangerous Function Cast */
 402         signal_remove("server connect failed", (SIGNAL_FUNC) sig_connect_failed);   /* Dangerous Function Cast (ID: 1033.1033) */
 403         signal_remove("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);   /* Dangerous Function Cast (ID: 1032.1032) */
 404         signal_remove("server quit", (SIGNAL_FUNC) sig_server_quit);   /* Dangerous Function Cast (ID: 1031.1031) */
 405  
 406         signal_remove("server lag disconnect", (SIGNAL_FUNC) sig_server_lag_disconnected);   /* Dangerous Function Cast (ID: 1046.1046) */
 407         signal_remove("server reconnect remove", (SIGNAL_FUNC) sig_server_reconnect_removed);   /* Dangerous Function Cast (ID: 1045.1045) */
 408         signal_remove("server reconnect not found", (SIGNAL_FUNC) sig_server_reconnect_not_found);   /* Dangerous Function Cast (ID: 1044.1044) */
 409  
 410         signal_remove("chat protocol unknown", (SIGNAL_FUNC) sig_chat_protocol_unknown);   /* Dangerous Function Cast (ID: 1043.1043) */
 411 




Change Warning 1034.1034 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: