Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Null Pointer Dereference  at host.c:492

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2469.2497
Procedure: ht_new
Trace: View
Modified: Wed Sep 2 12:39:43 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
   /u1/paul/SATE/2010/c/pvm/pvm3/src/host.c
   Enter ht_new
 483 struct htab * 
 484 ht_new(siz) 
 485         int siz;                /* initial length of ht_hosts[] */ 
 486 {
 487         struct htab *htp;
 488  
 489         if (siz < 1)
 490                 siz = 1;
true491         htp = TALLOC(1, struct htab, "ht1");
htp <= 4095492         BZERO((char*)htp, sizeof(struct htab));     /* Null Pointer Dereference */
Preconditions
$param_1 <= 0
Postconditions
htp' = 0
siz' = 1




Change Warning 2469.2497 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: