Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2601.2635
Procedure: dm_reset
Trace: View
Modified: Wed Sep 2 12:42:00 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 dm_reset
 3213 dm_reset(hp, mp) 
 3214         struct hostd *hp;
 3215         struct pmsg *mp;
 3216 {
 3217         int tid;
 3218         struct waitc *wp;
 3219         struct pmsg *mp2;
 3220  
 3221         hp = hp;   /* Unused Value (ID: 2600.2634) */
 3222  
 3223         upkuint(mp, &tid);
 3224  
true3225         mp2 = mesg_new(0);
mp2 <= 40953226         mp2->m_dst = mp->m_src;     /* Null Pointer Dereference */
Preconditions
numpmsgs = 0
Postconditions
freepmsgs.m_link' = &freepmsgs.m_link
freepmsgs.m_rlink' = &freepmsgs.m_link
hp' = $param_1
mp' = $param_2
mp2' = 0




Change Warning 2601.2635 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: