Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Ignored Return Value  at write-buffer.c:110

Categories: LANG.FUNCS.IRV CWE:252 CWE:253 POW10:7
Warning ID: 7463.28569
Procedure: write_buffer_flush_rec
Trace: view
Modified: Thu Nov 26 11:21:23 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     
LineSource
  /kat0/fletcher/SATE/2010/irssi-0.8.14/src/core/write-buffer.c
  Enter write_buffer_flush_rec
101 static int write_buffer_flush_rec(void *handlep, BUFFER_REC *rec) 
102 {
103         GSList *tmp;
104         int handle, size;
105  
106         handle = GPOINTER_TO_INT(handlep);
107         for (tmp = rec->blocks; tmp != NULL; tmp = tmp->next) {
108                 size = tmp->data != rec->active_block ? BUFFER_BLOCK_SIZE : 
109                         rec->active_block_pos;
110                 write(handle, tmp->data, size);     /* Ignored Return Value */
111         }
112  
113         empty_blocks = g_slist_concat(empty_blocks, rec->blocks);
114         g_free(rec);
115         return TRUE;
116 } 




Change Warning 7463.28569 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: