Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at notify-commands.c:78

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1392.26838
Procedure: notifylist_commands_deinit
Trace: view
Modified: Thu Nov 26 11:00:12 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-commands.c
   Enter notifylist_commands_deinit
 68 void notifylist_commands_init(void)
 69 {
 70         command_bind("notify", NULL, (SIGNAL_FUNC) cmd_notify);   /* Dangerous Function Cast (ID: 1390.26836) */
 71         command_bind("unnotify", NULL, (SIGNAL_FUNC) cmd_unnotify);   /* Dangerous Function Cast (ID: 1389.26835) */
 72  
 73         command_set_options("notify", "away");
 74 }
 75  
 76 void notifylist_commands_deinit(void) 
 77 {
Wrong Number of Parameters78         command_unbind("notify", (SIGNAL_FUNC) cmd_notify);     /* Dangerous Function Cast */
 79         command_unbind("unnotify", (SIGNAL_FUNC) cmd_unnotify);   /* Dangerous Function Cast (ID: 1391.26837) */
 80 } 




Change Warning 1392.26838 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: