Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at irc-expandos.c:154

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1094.26540
Procedure: irc_expandos_init
Trace: view
Modified: Thu Nov 26 10:59:01 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/irc-expandos.c
   Enter irc_expandos_init
 144                        "nick mode changed", EXPANDO_ARG_WINDOW_ITEM,
 145                        "channel joined", EXPANDO_ARG_WINDOW_ITEM, NULL);
 146         expando_create("cumode_space", expando_cumode_space,
 147                        "window changed", EXPANDO_ARG_NONE,
 148                        "window item changed", EXPANDO_ARG_WINDOW,
 149                        "nick mode changed", EXPANDO_ARG_WINDOW_ITEM,
 150                        "channel joined", EXPANDO_ARG_WINDOW_ITEM, NULL);
 151  
 152         expando_add_signal("I", "event invite", EXPANDO_ARG_SERVER);
 153  
Wrong Number of Parameters154         signal_add("event join", (SIGNAL_FUNC) event_join);     /* Dangerous Function Cast */
 155 } 
 156  
 157 void irc_expandos_deinit(void)
 158 {
 159         g_free_not_null(last_join);
 160  
 161         expando_destroy(":", expando_lastjoin);
 162         expando_destroy("H", expando_server_numeric);
 163         expando_destroy("S", expando_servername);
 164         expando_destroy("X", expando_userhost);




Change Warning 1094.26540 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: