Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at hilight-text.c:708

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2051.27223
Procedure: hilight_text_deinit
Trace: view
Modified: Thu Nov 26 11:01:52 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/fe-common/core/hilight-text.c
   Enter hilight_text_deinit
 698         command_bind("dehilight", NULL, (SIGNAL_FUNC) cmd_dehilight);   /* Dangerous Function Cast (ID: 2046.27221) */
 699         command_set_options("hilight", "-color -actcolor -level -priority -channels nick word line mask full regexp");
 700 }
 701  
 702 void hilight_text_deinit(void) 
 703 {
 704         hilights_destroy_all();
 705         nickmatch_deinit(nickmatch);
 706  
 707         signal_remove("print text", (SIGNAL_FUNC) sig_print_text);   /* Dangerous Function Cast (ID: 2054.27224) */
Wrong Number of Parameters708         signal_remove("setup reread", (SIGNAL_FUNC) read_hilight_config);     /* Dangerous Function Cast */
 709         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 2062.27227) */
 710  
 711         command_unbind("hilight", (SIGNAL_FUNC) cmd_hilight);   /* Dangerous Function Cast (ID: 2059.27226) */
 712         command_unbind("dehilight", (SIGNAL_FUNC) cmd_dehilight);   /* Dangerous Function Cast (ID: 2056.27225) */
 713 } 




Change Warning 2051.27223 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: