Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at mode-lists.c:139

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 534.534
Procedure: mode_lists_deinit
Trace: View
Modified: Wed Sep 2 11:35:03 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/core/mode-lists.c
   Enter mode_lists_deinit
 129  
 130 void mode_lists_init(void)
 131 {
 132         signal_add("channel destroyed", (SIGNAL_FUNC) channel_destroyed);   /* Dangerous Function Cast (ID: 531.531) */
 133  
 134         signal_add("chanquery ban", (SIGNAL_FUNC) event_banlist);   /* Dangerous Function Cast (ID: 532.532) */
 135 }
 136  
 137 void mode_lists_deinit(void) 
 138 {
Wrong Number of Parameters139         signal_remove("channel destroyed", (SIGNAL_FUNC) channel_destroyed);     /* Dangerous Function Cast */
 140  
 141         signal_remove("chanquery ban", (SIGNAL_FUNC) event_banlist);   /* Dangerous Function Cast (ID: 533.533) */
 142 




Change Warning 534.534 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: