Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Null Pointer Dereference  at ddpro.c:1416

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2534.2565
Procedure: exectasks
Trace: View
Modified: Wed Sep 2 12:40:39 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/ddpro.c
   Enter exectasks
 1401 exectasks(mp, rmp, schtid) 
 1402         struct pmsg *mp;                /* the request message */ 
 1403         struct pmsg *rmp;               /* reply message blank */ 
 1404         int schtid;                             /* scheduler for new tasks */ 
 1405 {
 1406         struct pmsg *mp2;                       /* reply message hdl */ 
 1407         int i;
 1408         struct timeval now;
 1409         struct waitc_spawn *wxp;        /* new task parameters */ 
 1410         int munge_tenv = 0;
 1411         char tmp[255];
 1412         char *wd = 0;
 1413         char *savewd = 0;
 1414  
true1415         wxp = TALLOC(1, struct waitc_spawn, "waix");
wxp <= 40951416         BZERO((char*)wxp, sizeof(struct waitc_spawn));     /* Null Pointer Dereference */
Postconditions
mp' = $param_1
munge_tenv' = 0
rmp' = $param_2
savewd' = 0
schtid' = $param_3
wd' = 0
wxp' = 0




Change Warning 2534.2565 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: