Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at term-dummy.c:101

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 4606.28197
Procedure: term_dummy_deinit
Trace: view
Modified: Thu Nov 26 11:07:01 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/term-dummy.c
   Enter term_dummy_deinit
 91         stdin_channel = g_io_channel_unix_new(0);
 92         readtag = g_input_add_full(stdin_channel,
 93                                    G_PRIORITY_HIGH, G_INPUT_READ,
 94                                    (GInputFunction) readline, NULL);   /* Dangerous Function Cast (ID: 4600.28193) */
 95         g_io_channel_unref(stdin_channel);
 96 }
 97  
 98 void term_dummy_deinit(void) 
 99 {
 100         signal_remove("gui print text", (SIGNAL_FUNC) sig_gui_printtext);
Wrong Number of Parameters101         signal_remove("gui print text finished", (SIGNAL_FUNC) sig_gui_printtext_finished);     /* Dangerous Function Cast */
 102         signal_remove("window created", (SIGNAL_FUNC) sig_window_created);   /* Dangerous Function Cast (ID: 4605.28196) */
 103  
 104         g_source_remove(readtag);
 105         g_string_free(input, TRUE);
 106 } 




Change Warning 4606.28197 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: