Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at pvmdtev.c:300

Categories: LANG.MEM.NPD CWE:476
Warning ID: 36.28621
Procedure: tev_send_spntask
Trace: view
Modified: Thu Nov 26 11:27: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/pvmdtev.c
   Enter tev_send_spntask
 279 tev_send_spntask( dst, ctx, tag, tid, ptid ) 
 280         int dst;
 281         int ctx;
 282         int tag;
 283         int tid;
 284         int ptid;
 285 {
 286         static int checklist[CHECKLISTSIZE];
 287         static int start = 0;
 288         static int end = 0;
 289  
 290         struct timeval now;
 291  
 292         struct pmsg *mp;
 293  
 294         int flag;
 295         int tmp;
 296         int i;
 297  
true298         mp = mesg_new( 0 );
 299  
mp <= 4095300         mp->m_ctx = ctx;     /* 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 36.28621 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: