Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Uninitialized Variable  at lpvm.c:1520

Categories: LANG.MEM.UVAR CWE:457
Warning ID: 2832.2893
Procedure: pvm_tc_taskexit
Trace: View
Modified: Wed Sep 2 12:49:24 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/lpvm.c
   Enter pvm_tc_taskexit
true1511 pvm_tc_taskexit(mid) 
 1512         int mid;
 1513 {
 1514         int tid;                                        /* exited task id */ 
 1515         struct ttpcb *pcbp;
 1516  
 1517         pvm_upkint(&tid, 1, 1);
 1518  
 1519         if (pvmdebmask & PDMROUTE) {
tid is uninitialized1520                 pvmlogprintf("pvm_tc_taskexit() TASKEXIT for t%x\n", tid);     /* Uninitialized Variable */
Preconditions
&$unknown_2461622 = $unknown_2461622
&$unknown_2461626 != -1
((char*)&((char*)$unknown_2461621)[72])[40] = 1
myfmt = -1
pvmautoerr != 0
pvmautoerr != 2
pvmautoerr != 3
pvmmytid = -1
pvmtoplvl != 0
Postconditions
((char*)&((char*)$unknown_2461621)[72])[40]' = ((char*)&((char*)$unknown_2461621)[72])[40] - 1
((char*)$unknown_2461621)[72]' = &freefrags.fr_link
*stderr' is allocated by fopen
bytes_before(stderr)' = 0
freefrags.fr_rlink' = ((char*)&$unknown_2461621)[72]
mid' = $param_1
pvm_errno' = -15
pvmmytid' = &$unknown_2461626
pvmrbuf' = 0
pvmtrc.trctid' <= 0
topvmd' = 0
ttlist' = &$unknown_2461622




Change Warning 2832.2893 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: