Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 312.28989
Procedure: sendmessage
Trace: view
Modified: Thu Nov 26 11:29: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/tdpro.c
   Enter tm_sched
 2231 tm_sched(tp, mp) 
 2232         struct task *tp;
 2233         struct pmsg *mp;
 2234 {
 2235         struct pmsg *mp2;
 2236         struct hostd *hp;
 2237  
true2238         mp2 = replymessage(mp);
 2239         pkint(mp2, pvmschedtid);
 2240         hp = hosts->ht_hosts[hosts->ht_master];
 2241         pkint(mp2, hp->hd_hostpart);
 2242         pkstr(mp2, hp->hd_name);
 2243         pkstr(mp2, hp->hd_arch ? hp->hd_arch : "");
 2244         pkint(mp2, hp->hd_speed);
 2245         pkint(mp2, hp->hd_dsig);
mp2 <= 40952246         sendmessage(mp2);
Preconditions
((char*)&$unknown_1034898)[12] = 0
numpmsgs = 0
Postconditions
errno' != 0
ff' = 1
freepmsgs.m_link' = &freepmsgs.m_link
freepmsgs.m_rlink' = &freepmsgs.m_link
hp' = 0
hp' = &$unknown_1034898
mp' = 0
mp2' = 0




Change Warning 312.28989 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: