Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at tdpro.c:1517

Categories: LANG.MEM.NPD CWE:476
Warning ID: 291.28966
Procedure: tm_halt
Trace: view
Modified: Thu Nov 26 11:29:17 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/tdpro.c
   Enter tm_halt
 1512 tm_halt(tp, mp) 
 1513         struct task *tp;
 1514         struct pmsg *mp;
 1515 {
true1516         mp = mesg_new(0);
mp <= 40951517         mp->m_tag = DM_HALT;     /* Null Pointer Dereference */
Preconditions
numpmsgs = 0
Postconditions
errno' != 0
freepmsgs.m_link' = &freepmsgs.m_link
freepmsgs.m_rlink' = &freepmsgs.m_link
mp' = 0




Change Warning 291.28966 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: