Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3831.27933
Procedure: gui_readline_init
Trace: view
Modified: Thu Nov 26 11:05:34 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
 1121         key_bind("transpose_words", "Swap current and previous word", NULL, NULL, (SIGNAL_FUNC) key_transpose_words);   /* Dangerous Function Cast (ID: 3839.27941) */
 1122         key_bind("capitalize_word", "Capitalize the current word", NULL, NULL, (SIGNAL_FUNC) key_capitalize_word);   /* Dangerous Function Cast (ID: 3838.27940) */
 1123         key_bind("downcase_word", "Downcase the current word", NULL, NULL, (SIGNAL_FUNC) key_downcase_word);   /* Dangerous Function Cast (ID: 3837.27939) */
 1124         key_bind("upcase_word", "Upcase the current word", NULL, NULL, (SIGNAL_FUNC) key_upcase_word);   /* Dangerous Function Cast (ID: 3836.27938) */
 1125  
 1126         /* line transmitting */ 
 1127         key_bind("send_line", "Execute the input line", "return", NULL, (SIGNAL_FUNC) key_send_line);   /* Dangerous Function Cast (ID: 3835.27937) */
 1128         key_bind("word_completion_backward", "", NULL, NULL, (SIGNAL_FUNC) key_word_completion_backward);   /* Dangerous Function Cast (ID: 3834.27936) */
 1129         key_bind("word_completion", "Complete the current word", "tab", NULL, (SIGNAL_FUNC) key_word_completion);   /* Dangerous Function Cast (ID: 3833.27935) */
 1130         key_bind("erase_completion", "Remove the completion added by word_completion", "meta-k", NULL, (SIGNAL_FUNC) key_erase_completion);   /* Dangerous Function Cast (ID: 3832.27934) */
Wrong Number of Parameters1131         key_bind("check_replaces", "Check word replaces", NULL, NULL, (SIGNAL_FUNC) key_check_replaces);     /* Dangerous Function Cast */
 1132  
 1133         /* window managing */ 
 1134         key_bind("previous_window", "Go to the previous window", "^P", NULL, (SIGNAL_FUNC) key_previous_window);   /* Dangerous Function Cast (ID: 3828.27932) */
 1135         key_bind("next_window", "Go to the next window", "^N", NULL, (SIGNAL_FUNC) key_next_window);   /* Dangerous Function Cast (ID: 3826.27931) */
 1136         key_bind("upper_window", "Go to the split window above", "mup", NULL, (SIGNAL_FUNC) key_upper_window);   /* Dangerous Function Cast (ID: 3824.27930) */
 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) */




Change Warning 3831.27933 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: