Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at nicklist.c:592

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 796.26241
Procedure: nicklist_deinit
Trace: view
Modified: Thu Nov 26 10:57:51 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/core/nicklist.c
   Enter nicklist_deinit
 582  
 583 void nicklist_init(void)
 584 {
 585         signal_add_first("channel created", (SIGNAL_FUNC) sig_channel_created);   /* Dangerous Function Cast (ID: 794.26239) */
 586         signal_add("channel destroyed", (SIGNAL_FUNC) sig_channel_destroyed);   /* Dangerous Function Cast (ID: 793.26240) */
 587 }
 588  
 589 void nicklist_deinit(void) 
 590 {
 591         signal_remove("channel created", (SIGNAL_FUNC) sig_channel_created);   /* Dangerous Function Cast (ID: 795.26242) */
Wrong Number of Parameters592         signal_remove("channel destroyed", (SIGNAL_FUNC) sig_channel_destroyed);     /* Dangerous Function Cast */
 593  
 594         module_uniq_destroy("NICK");
 595 } 




Change Warning 796.26241 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: