Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Null Pointer Dereference  at pvmd.c:2188

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2502.2532
Procedure: locl_spawn
Trace: View
Modified: Wed Sep 2 12:39:55 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/pvmd.c
   Enter locl_spawn
 2176 locl_spawn( file, argv ) 
 2177 char *file;
 2178 char **argv;
 2179 {
 2180         struct pmsg *spawnmesg;
 2181  
 2182         char **ep;
 2183  
 2184         int i;
 2185         int n;
 2186  
true2187         spawnmesg = mesg_new(0);
spawnmesg <= 40952188         spawnmesg->m_tag = DM_EXEC;     /* Null Pointer Dereference */
Preconditions
numpmsgs = 0
Postconditions
argv' = $param_2
file' = $param_1
freepmsgs.m_link' = &freepmsgs.m_link
freepmsgs.m_rlink' = &freepmsgs.m_link
spawnmesg' = 0




Change Warning 2502.2532 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: