Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Uninitialized Variable  at lpvm.c:1527

Categories: LANG.MEM.UVAR CWE:457
Warning ID: 408.29126
Procedure: pvm_tc_taskexit
Trace: view
Modified: Thu Nov 26 11:34:38 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/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) {
 1520                 pvmlogprintf("pvm_tc_taskexit() TASKEXIT for t%x\n", tid);   /* Uninitialized Variable (ID: 409.29127) */
 1521         }
 1522  
 1523         /*
 1524         * v3.3: for now, don't close fully open route as we may lose 
 1525         * messages.  rely on socket getting EOF 
 1526         */ 
tid is uninitialized1527         if ((pcbp = ttpcb_find(tid))     /* Uninitialized Variable */
Preconditions
((char*)&((char*)$unknown_10915588)[56])[24] = 1
myfmt = -1
pvmautoerr = 0
pvmmytid = -1
pvmtoplvl != 0
Postconditions
((char*)&((char*)$unknown_10915588)[56])[24]' = ((char*)&((char*)$unknown_10915588)[56])[24] - 1
((char*)$unknown_10915588)[56]' = &freefrags.fr_link
freefrags.fr_rlink' = ((char*)&$unknown_10915588)[56]
pvm_errno' = -15
pvmmytid' != -1
pvmrbuf' = 0
pvmtrc.trctid' <= 0
topvmd' = 0




Change Warning 408.29126 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: