Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Uninitialized Variable  at lpvmgen.c:1161

Categories: LANG.MEM.UVAR CWE:457
Warning ID: 2788.2847
Procedure: pvm_tc_settrcbuf
Trace: View
Modified: Wed Sep 2 12:46:54 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/lpvmgen.c
   Enter pvm_tc_settrcbuf
true1154 pvm_tc_settrcbuf(mid) 
 1155         int mid;
 1156 {
 1157         int tbuf;
 1158  
 1159         pvm_upkint(&tbuf,1,1);
 1160  
tbuf is uninitialized1161         if (tbuf >= 0)     /* Uninitialized Variable */
Preconditions
((char*)&((char*)$unknown_1756024)[72])[40] = 1
myfmt = -1
pvmautoerr = 0
pvmmytid = -1
pvmtoplvl != 0
Postconditions
((char*)&((char*)$unknown_1756024)[72])[40]' = ((char*)&((char*)$unknown_1756024)[72])[40] - 1
((char*)$unknown_1756024)[72]' = &freefrags.fr_link
freefrags.fr_rlink' = ((char*)&$unknown_1756024)[72]
mid' = $param_1
pvm_errno' = -15
pvmmytid' != -1
pvmrbuf' = 0
pvmtrc.trctid' <= 0
topvmd' = 0




Change Warning 2788.2847 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: