Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2041.27219
Procedure: hilight_text_init
Trace: view
Modified: Thu Nov 26 11:01: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/fe-common/core/hilight-text.c
   Enter hilight_text_init
 684         settings_add_str("lookandfeel", "hilight_color", "%Y");
 685         settings_add_str("lookandfeel", "hilight_act_color", "%M");
 686         settings_add_level("lookandfeel", "hilight_level", "PUBLIC DCCMSGS");
 687  
 688         read_settings();
 689  
 690         nickmatch = nickmatch_init(hilight_nick_cache);
 691         read_hilight_config();
 692  
 693         signal_add_first("print text", (SIGNAL_FUNC) sig_print_text);   /* Dangerous Function Cast (ID: 2044.27220) */
Wrong Number of Parameters694         signal_add("setup reread", (SIGNAL_FUNC) read_hilight_config);     /* Dangerous Function Cast */
 695         signal_add("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 2037.27218) */
 696  
 697         command_bind("hilight", NULL, (SIGNAL_FUNC) cmd_hilight);   /* Dangerous Function Cast (ID: 2035.27217) */
 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();




Change Warning 2041.27219 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: