Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at ddpro.c:3332

Categories: LANG.MEM.NPD CWE:476
Warning ID: 187.28812
Procedure: dm_hostsync
Trace: view
Modified: Thu Nov 26 11:28:06 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/ddpro.c
   Enter dm_hostsync
 3321 dm_hostsync(hp, mp) 
 3322         struct hostd *hp;
 3323         struct pmsg *mp;
 3324 {
 3325         struct pmsg *mp2;
 3326         struct timeval now;
 3327  
 3328         mp = mp;
 3329         hp = hp;   /* Unused Value (ID: 186.28811) */
 3330  
true3331         mp2 = mesg_new(0);
mp2 <= 40953332         mp2->m_dst = mp->m_src;     /* Null Pointer Dereference */
Preconditions
numpmsgs = 0
Postconditions
errno' != 0
freepmsgs.m_link' = &freepmsgs.m_link
freepmsgs.m_rlink' = &freepmsgs.m_link
mp2' = 0




Change Warning 187.28812 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: