Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at term-dummy.c:101

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2046.2046
Procedure: term_dummy_deinit
Trace: View
Modified: Wed Sep 2 11:48:29 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/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: 2042.2042) */
 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: 2045.2045) */
 103  
 104         g_source_remove(readtag);
 105         g_string_free(input, TRUE);
 106 




Change Warning 2046.2046 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: