Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3891.27964
Procedure: gui_readline_init
Trace: view
Modified: Thu Nov 26 11:05:41 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
 1084  
 1085         key_bind("key", NULL, "meta2-4;5~", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 3907.27971) */
 1086         key_bind("key", NULL, "meta2-8;5~", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 3904.27970) */
 1087         key_bind("key", NULL, "meta2-5F", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 3902.27969) */
 1088         key_bind("key", NULL, "meta2-1;5F", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 3900.27968) */
 1089  
 1090         /* cursor movement */ 
 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) */
Wrong Number of Parameters1094         key_bind("backward_word", NULL, "meta-b", NULL, (SIGNAL_FUNC) key_backward_word);     /* Dangerous Function Cast */
 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) */
 1101         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 (ID: 3875.27957) */
 1102         key_bind("end_of_line", NULL, "^E", NULL, (SIGNAL_FUNC) key_end_of_line);   /* Dangerous Function Cast (ID: 3872.27956) */
 1103  
 1104         /* history */ 




Change Warning 3891.27964 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: