Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at host.c:688

Categories: LANG.MEM.NPD CWE:476
Warning ID: 22027.28644
Procedure: applydefaults
Trace: view
Modified: Thu Nov 26 11:27:13 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/src/host.c
   Enter applydefaults
 683 applydefaults(hp, defhp) 
 684         struct hostd *hp;               /* hostd to modify */ 
 685         struct hostd *defhp;    /* default settings */ 
 686 {
 687         if (!hp-> && defhp->)
true688                 hp-> = STRALLOC(defhp->);     /* Null Pointer Dereference */
Preconditions
hp->hd_login = 0
Postconditions
errno' != 0




Change Warning 22027.28644 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: