Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at gui-readline.c:1102

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1804.1804
Procedure: gui_readline_init
Trace: View
Modified: Wed Sep 2 11:46:09 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
   /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/fe-text/gui-readline.c
   Enter gui_readline_init
 1092         key_bind("forward_character", "Move the cursor a character forward", "right", NULL, (SIGNAL_FUNC) key_forward_character);   /* Dangerous Function Cast (ID: 1814.1814) */
 1093         key_bind("backward_word", "Move the cursor a word backward", "cleft", NULL, (SIGNAL_FUNC) key_backward_word);   /* Dangerous Function Cast (ID: 1813.1813) */
 1094         key_bind("backward_word", NULL, "meta-b", NULL, (SIGNAL_FUNC) key_backward_word);   /* Dangerous Function Cast (ID: 1812.1812) */
 1095         key_bind("forward_word", "Move the cursor a word forward", "cright", NULL, (SIGNAL_FUNC) key_forward_word);   /* Dangerous Function Cast (ID: 1811.1811) */
 1096         key_bind("forward_word", NULL, "meta-f", NULL, (SIGNAL_FUNC) key_forward_word);   /* Dangerous Function Cast (ID: 1810.1810) */
 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: 1809.1809) */
 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: 1808.1808) */
 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: 1807.1807) */
 1100         key_bind("beginning_of_line", NULL, "^A", NULL, (SIGNAL_FUNC) key_beginning_of_line);   /* Dangerous Function Cast (ID: 1806.1806) */
 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: 1805.1805) */
Wrong Number of Parameters1102         key_bind("end_of_line", NULL, "^E", NULL, (SIGNAL_FUNC) key_end_of_line);     /* Dangerous Function Cast */
 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: 1803.1803) */
 1106         key_bind("forward_history", "Go forward one line in the history", "down", NULL, (SIGNAL_FUNC) key_forward_history);   /* Dangerous Function Cast (ID: 1802.1802) */
 1107  
 1108         /* line editing */ 
 1109         key_bind("backspace", "Delete the previous character", "backspace", NULL, (SIGNAL_FUNC) key_backspace);   /* Dangerous Function Cast (ID: 1801.1801) */
 1110         key_bind("delete_character", "Delete the current character", "delete", NULL, (SIGNAL_FUNC) key_delete_character);   /* Dangerous Function Cast (ID: 1800.1800) */
 1111         key_bind("delete_character", NULL, "^D", NULL, (SIGNAL_FUNC) key_delete_character);   /* Dangerous Function Cast (ID: 1799.1799) */
 1112         key_bind("delete_next_word", "Delete the word after the cursor", "meta-d", NULL, (SIGNAL_FUNC) key_delete_next_word);   /* Dangerous Function Cast (ID: 1798.1798) */




Change Warning 1804.1804 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: