Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at write-buffer.c:188

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 878.26324
Procedure: write_buffer_deinit
Trace: view
Modified: Thu Nov 26 10:58:10 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/core/write-buffer.c
   Enter write_buffer_deinit
 178         if (timeout_tag != -1)
 179                 g_source_remove(timeout_tag);
 180  
 181         write_buffer_flush();
 182         g_hash_table_destroy(buffers);
 183  
 184         g_slist_foreach(empty_blocks, (GFunc) g_free, NULL);   /* Dangerous Function Cast (ID: 880.26326) */
 185         g_slist_free(empty_blocks);
 186  
 187         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 879.26325) */
Wrong Number of Parameters188         command_unbind("flushbuffer",  (SIGNAL_FUNC) cmd_flushbuffer);     /* Dangerous Function Cast */
 189 } 




Change Warning 878.26324 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: