Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3875.27957
Procedure: gui_readline_init
Trace: view
Modified: Thu Nov 26 11:05:40 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
 1091         key_bind("backward_character", "Move the cursor a character backward", "left", NULL, (SIGNAL_FUNC) key_backward_character);   /* Dangerous Function Cast (ID: 3898.27967) */
 1092         key_bind("forward_character", "Move the cursor a character forward", "right", NULL, (SIGNAL_FUNC) key_forward_character);   /* Dangerous Function Cast (ID: 3895.27966) */
 1093         key_bind("backward_word", "Move the cursor a word backward", "cleft", NULL, (SIGNAL_FUNC) key_backward_word);   /* Dangerous Function Cast (ID: 3893.27965) */
 1094         key_bind("backward_word", NULL, "meta-b", NULL, (SIGNAL_FUNC) key_backward_word);   /* Dangerous Function Cast (ID: 3891.27964) */
 1095         key_bind("forward_word", "Move the cursor a word forward", "cright", NULL, (SIGNAL_FUNC) key_forward_word);   /* Dangerous Function Cast (ID: 3889.27963) */
 1096         key_bind("forward_word", NULL, "meta-f", NULL, (SIGNAL_FUNC) key_forward_word);   /* Dangerous Function Cast (ID: 3886.27962) */
 1097         key_bind("backward_to_space", "Move the cursor backward to a space", NULL, NULL, (SIGNAL_FUNC) key_backward_to_space);   /* Dangerous Function Cast (ID: 3884.27961) */
 1098         key_bind("forward_to_space", "Move the cursor forward to a space", NULL, NULL, (SIGNAL_FUNC) key_forward_to_space);   /* Dangerous Function Cast (ID: 3882.27960) */
 1099         key_bind("beginning_of_line", "Move the cursor to the beginning of the line", "home", NULL, (SIGNAL_FUNC) key_beginning_of_line);   /* Dangerous Function Cast (ID: 3879.27959) */
 1100         key_bind("beginning_of_line", NULL, "^A", NULL, (SIGNAL_FUNC) key_beginning_of_line);   /* Dangerous Function Cast (ID: 3877.27958) */
Wrong Number of Parameters1101         key_bind("end_of_line", "Move the cursor to the end of the line", "end", NULL, (SIGNAL_FUNC) key_end_of_line);     /* Dangerous Function Cast */
 1102         key_bind("end_of_line", NULL, "^E", NULL, (SIGNAL_FUNC) key_end_of_line);   /* Dangerous Function Cast (ID: 3872.27956) */
 1103  
 1104         /* history */ 
 1105         key_bind("backward_history", "Go back one line in the history", "up", NULL, (SIGNAL_FUNC) key_backward_history);   /* Dangerous Function Cast (ID: 3870.27955) */
 1106         key_bind("forward_history", "Go forward one line in the history", "down", NULL, (SIGNAL_FUNC) key_forward_history);   /* Dangerous Function Cast (ID: 3867.27954) */
 1107  
 1108         /* line editing */ 
 1109         key_bind("backspace", "Delete the previous character", "backspace", NULL, (SIGNAL_FUNC) key_backspace);   /* Dangerous Function Cast (ID: 3864.27953) */
 1110         key_bind("delete_character", "Delete the current character", "delete", NULL, (SIGNAL_FUNC) key_delete_character);   /* Dangerous Function Cast (ID: 3862.27952) */
 1111         key_bind("delete_character", NULL, "^D", NULL, (SIGNAL_FUNC) key_delete_character);   /* Dangerous Function Cast (ID: 3859.27951) */




Change Warning 3875.27957 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: