Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at notify-commands.c:79

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 685.685
Procedure: notifylist_commands_deinit
Trace: View
Modified: Wed Sep 2 11:36:07 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-commands.c
   Enter notifylist_commands_deinit
 69 {
 70         command_bind("notify", NULL, (SIGNAL_FUNC) cmd_notify);   /* Dangerous Function Cast (ID: 684.684) */
 71         command_bind("unnotify", NULL, (SIGNAL_FUNC) cmd_unnotify);   /* Dangerous Function Cast (ID: 683.683) */
 72  
 73         command_set_options("notify", "away");
 74 }
 75  
 76 void notifylist_commands_deinit(void) 
 77 {
 78         command_unbind("notify", (SIGNAL_FUNC) cmd_notify);   /* Dangerous Function Cast (ID: 686.686) */
Wrong Number of Parameters79         command_unbind("unnotify", (SIGNAL_FUNC) cmd_unnotify);     /* Dangerous Function Cast */
 80 




Change Warning 685.685 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: