Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at notify-ison.c:340

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 692.692
Procedure: notifylist_ison_deinit
Trace: View
Modified: Wed Sep 2 11:36:09 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/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: 690.690) */
 333         signal_add("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 691.691) */
 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: 693.693) */
 342 




Change Warning 692.692 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: