Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at keyboard.c:879

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1091.1091
Procedure: keyboard_deinit
Trace: View
Modified: Wed Sep 2 11:38:53 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-common/core/keyboard.c
   Enter keyboard_deinit
 869                 keyinfo_remove(keyinfos->data);
 870         g_hash_table_destroy(keys);
 871         g_hash_table_destroy(default_keys);
 872  
 873         g_tree_traverse(key_states, (GTraverseFunc) key_state_destroy,   /* Dangerous Function Cast (ID: 1094.1094) */
 874                         G_IN_ORDER, NULL);
 875         g_tree_destroy(key_states);
 876  
 877         signal_remove("irssi init read settings", (SIGNAL_FUNC) read_keyboard_config);   /* Dangerous Function Cast (ID: 1093.1093) */
 878         signal_remove("setup reread", (SIGNAL_FUNC) read_keyboard_config);   /* Dangerous Function Cast (ID: 1092.1092) */
Wrong Number of Parameters879         signal_remove("complete command bind", (SIGNAL_FUNC) sig_complete_bind);     /* Dangerous Function Cast */
 880         command_unbind("bind", (SIGNAL_FUNC) cmd_bind);   /* Dangerous Function Cast (ID: 1090.1090) */
 881 




Change Warning 1091.1091 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: