Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at pvmd.c:2188

Categories: LANG.MEM.NPD CWE:476
Warning ID: 97.28688
Procedure: locl_spawn
Trace: view
Modified: Thu Nov 26 11:27:23 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/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
errno' != 0
freepmsgs.m_link' = &freepmsgs.m_link
freepmsgs.m_rlink' = &freepmsgs.m_link
spawnmesg' = 0




Change Warning 97.28688 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: