Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at notify-ison.c:340

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1398.26844
Procedure: notifylist_ison_deinit
Trace: view
Modified: Thu Nov 26 11:00:14 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-ison.c
   Enter notifylist_ison_deinit
 330         read_settings();
 331  
 332         signal_add("notifylist event", (SIGNAL_FUNC) event_ison);   /* Dangerous Function Cast (ID: 1396.26842) */
 333         signal_add("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1397.26843) */
 334 }
 335  
 336 void notifylist_ison_deinit(void) 
 337 {
 338         g_source_remove(notify_tag);
 339  
Wrong Number of Parameters340         signal_remove("notifylist event", (SIGNAL_FUNC) event_ison);     /* Dangerous Function Cast */
 341         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1399.26845) */
 342 } 




Change Warning 1398.26844 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: