Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at lpvmcat.c:222

Categories: LANG.MEM.NPD CWE:476
Warning ID: 361.29047
Procedure: tobuf_init
Trace: view
Modified: Thu Nov 26 11:30:32 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/lpvmcat.c
   Enter tobuf_init
 214 tobuf_init() 
 215 {
 216         int i;
 217         struct pvmminfo minfo;
 218         int ictx;
 219  
 220         if (!tobuflist) {
true221                 tobuflist = TALLOC(1, struct tobuf, "obuf");
tobuflist <= 4095222                 BZERO((char*)tobuflist, sizeof(struct tobuf));     /* Null Pointer Dereference */
Preconditions
tobuflist = 0
Postconditions
errno' != 0
tobuflist' = 0




Change Warning 361.29047 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: