Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.UVAR CWE:457
Warning ID: 2831.2892
Procedure: pvm_tc_taskexit
Trace: View
Modified: Wed Sep 2 12:49:22 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) {
 1520                 pvmlogprintf("pvm_tc_taskexit() TASKEXIT for t%x\n", tid);   /* Uninitialized Variable (ID: 2832.2893) */
 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_2441802)[72])[40] = 1
myfmt = -1
pvmautoerr = 0
pvmmytid = -1
pvmtoplvl != 0
Postconditions
((char*)&((char*)$unknown_2441802)[72])[40]' = ((char*)&((char*)$unknown_2441802)[72])[40] - 1
((char*)$unknown_2441802)[72]' = &freefrags.fr_link
freefrags.fr_rlink' = ((char*)&$unknown_2441802)[72]
mid' = $param_1
pvm_errno' = -15
pvmmytid' != -1
pvmrbuf' = 0
pvmtrc.trctid' <= 0
topvmd' = 0




Change Warning 2831.2892 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: