Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at write-buffer.c:184

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 173.173
Procedure: write_buffer_deinit
Trace: View
Modified: Wed Sep 2 11:32:31 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/core/write-buffer.c
   Enter write_buffer_deinit
 174 }
 175  
 176 void write_buffer_deinit(void) 
 177 {
 178         if (timeout_tag != -1)
 179                 g_source_remove(timeout_tag);
 180  
 181         write_buffer_flush();
 182         g_hash_table_destroy(buffers);
 183  
Wrong Number of Parameters184         g_slist_foreach(empty_blocks, (GFunc) g_free, NULL);     /* Dangerous Function Cast */
 185         g_slist_free(empty_blocks);
 186  
 187         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 172.172) */
 188         command_unbind("flushbuffer",  (SIGNAL_FUNC) cmd_flushbuffer);   /* Dangerous Function Cast (ID: 171.171) */
 189 




Change Warning 173.173 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: