Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at trcutil.c:2907

Categories: LANG.MEM.NPD CWE:476
Warning ID: 22170.29216
Procedure: trc_date_str
Trace: view
Modified: Thu Nov 26 11:36:15 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/pvm3/tracer/trcutil.c
   Enter trc_date_str
 2896 char * 
 2897 trc_date_str() 
 2898 {
 2899         char tmp[255];
 2900  
 2901         char *result;
 2902  
 2903         PVM_TIMET t;
 2904  
 2905         time( &t );
 2906  
true2907         sprintf( tmp, "%s", ctime( &t ) );     /* Null Pointer Dereference */
Postconditions
errno' != 0




Change Warning 22170.29216 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: