Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1814.1814
Procedure: gui_readline_init
Trace: View
Modified: Wed Sep 2 11:46:13 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
 1082         key_bind("key", NULL, "meta2-5H", "chome", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 1821.1821) */
 1083         key_bind("key", NULL, "meta2-1;5H", "chome", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 1820.1820) */
 1084  
 1085         key_bind("key", NULL, "meta2-4;5~", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 1819.1819) */
 1086         key_bind("key", NULL, "meta2-8;5~", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 1818.1818) */
 1087         key_bind("key", NULL, "meta2-5F", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 1817.1817) */
 1088         key_bind("key", NULL, "meta2-1;5F", "cend", (SIGNAL_FUNC) key_combo);   /* Dangerous Function Cast (ID: 1816.1816) */
 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: 1815.1815) */
Wrong Number of Parameters1092         key_bind("forward_character", "Move the cursor a character forward", "right", NULL, (SIGNAL_FUNC) key_forward_character);     /* Dangerous Function Cast */
 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) */
 1102         key_bind("end_of_line", NULL, "^E", NULL, (SIGNAL_FUNC) key_end_of_line);   /* Dangerous Function Cast (ID: 1804.1804) */




Change Warning 1814.1814 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: