Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at notify-whois.c:149

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1405.26850
Procedure: notifylist_whois_deinit
Trace: view
Modified: Thu Nov 26 11:00:15 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/notifylist/notify-whois.c
   Enter notifylist_whois_deinit
 139         signal_add("notifylist event whois away", (SIGNAL_FUNC) event_whois_away);   /* Dangerous Function Cast (ID: 1402.26848) */
 140         signal_add("notifylist event whois end", (SIGNAL_FUNC) event_whois_end);   /* Dangerous Function Cast (ID: 1400.26846) */
 141         expando_create("D", expando_lastnotify,
 142                        "notifylist event whois", EXPANDO_ARG_SERVER, NULL);
 143 }
 144  
 145 void notifylist_whois_deinit(void) 
 146 {
 147         g_free_not_null(last_notify_nick);
 148  
Wrong Number of Parameters149         signal_remove("notifylist event whois", (SIGNAL_FUNC) event_whois);     /* Dangerous Function Cast */
 150         signal_remove("notifylist event whois away", (SIGNAL_FUNC) event_whois_away);   /* Dangerous Function Cast (ID: 1404.26851) */
 151         signal_remove("notifylist event whois end", (SIGNAL_FUNC) event_whois_end);   /* Dangerous Function Cast (ID: 1403.26849) */
 152         expando_destroy("D", expando_lastnotify);
 153 } 




Change Warning 1405.26850 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: