Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at gui-readline.c:1147

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3799.27920
Procedure: gui_readline_init
Trace: view
Modified: Thu Nov 26 11:05:32 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-text/gui-readline.c
   Enter gui_readline_init
 1137         key_bind("lower_window", "Go to the split window below", "mdown", NULL, (SIGNAL_FUNC) key_lower_window);   /* Dangerous Function Cast (ID: 3822.27929) */
 1138         key_bind("left_window", "Go to the previous window in the current split window", "mleft", NULL, (SIGNAL_FUNC) key_left_window);   /* Dangerous Function Cast (ID: 3820.27928) */
 1139         key_bind("right_window", "Go to the next window in the current split window", "mright", NULL, (SIGNAL_FUNC) key_right_window);   /* Dangerous Function Cast (ID: 3818.27927) */
 1140         key_bind("active_window", "Go to next window with the highest activity", "meta-a", NULL, (SIGNAL_FUNC) key_active_window);   /* Dangerous Function Cast (ID: 3816.27926) */
 1141         key_bind("next_window_item", "Go to the next channel/query. In empty windows change to the next server", "^X", NULL, (SIGNAL_FUNC) key_next_window_item);   /* Dangerous Function Cast (ID: 3813.27925) */
 1142         key_bind("previous_window_item", "Go to the previous channel/query. In empty windows change to the previous server", NULL, NULL, (SIGNAL_FUNC) key_previous_window_item);   /* Dangerous Function Cast (ID: 3810.27924) */
 1143  
 1144         key_bind("refresh_screen", "Redraw screen", "^L", NULL, (SIGNAL_FUNC) irssi_redraw);   /* Dangerous Function Cast (ID: 3808.27923) */
 1145         key_bind("scroll_backward", "Scroll to previous page", "prior", NULL, (SIGNAL_FUNC) key_scroll_backward);   /* Dangerous Function Cast (ID: 3805.27922) */
 1146         key_bind("scroll_backward", NULL, "meta-p", NULL, (SIGNAL_FUNC) key_scroll_backward);   /* Dangerous Function Cast (ID: 3803.27921) */
Wrong Number of Parameters1147         key_bind("scroll_forward", "Scroll to next page", "next", NULL, (SIGNAL_FUNC) key_scroll_forward);     /* Dangerous Function Cast */
 1148         key_bind("scroll_forward", NULL, "meta-n", NULL, (SIGNAL_FUNC) key_scroll_forward);   /* Dangerous Function Cast (ID: 3797.27919) */
 1149         key_bind("scroll_start", "Scroll to the beginning of the window", "chome", NULL, (SIGNAL_FUNC) key_scroll_start);   /* Dangerous Function Cast (ID: 3795.27918) */
 1150         key_bind("scroll_end", "Scroll to the end of the window", "cend", NULL, (SIGNAL_FUNC) key_scroll_end);   /* Dangerous Function Cast (ID: 3793.27917) */
 1151  
 1152         /* inserting special input characters to line.. */ 
 1153         key_bind("escape_char", "Insert the next character exactly as-is to input line", NULL, NULL, (SIGNAL_FUNC) key_escape);   /* Dangerous Function Cast (ID: 3790.27916) */
 1154         key_bind("insert_text", "Append text to line", NULL, NULL, (SIGNAL_FUNC) key_insert_text);   /* Dangerous Function Cast (ID: 3788.27915) */
 1155  
 1156         /* autoreplaces */ 
 1157         key_bind("multi", NULL, "return", "check_replaces;send_line", NULL);




Change Warning 3799.27920 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: