Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Ignored Return Value  at rawlog.c:108

Categories: LANG.FUNCS.IRV CWE:252 CWE:253 POW10:7
Warning ID: 2404.2419
Procedure: rawlog_dump
Trace: View
Modified: Wed Sep 2 12:25:25 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
  /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/core/rawlog.c
  Enter rawlog_dump
102 static void rawlog_dump(RAWLOG_REC *rawlog, int f) 
103 {
104         GSList *tmp;
105  
106         for (tmp = rawlog->lines; tmp != NULL; tmp = tmp->next) {   /* Null Pointer Dereference (ID: 2313.2322) */
107                 write(f, tmp->data, strlen((char *) tmp->data));   /* Ignored Return Value (ID: 2405.2420) */  /* 2 more... */
108                 write(f, "\n", 1);     /* Ignored Return Value */
109         }
110 } 




Change Warning 2404.2419 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: