Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Uninitialized Variable  at trcmess.c:816

Categories: LANG.MEM.UVAR CWE:457
Warning ID: 447.29204
Procedure: trc_handle_output_message
Trace: view
Modified: Thu Nov 26 11:36:04 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/tracer/trcmess.c
   Enter trc_handle_output_message
true791 trc_handle_output_message( ID ) 
 792 TRC_ID ID;
 793 {
 794         TRC_TEVTASK TT;
 795  
 796         char tmp[255];
 797         char msg[255];
 798  
 799         char *output;
 800  
 801         int ecnt;
 802         int omit;
 803         int len;
 804         int tid;
 805  
 806         ecnt = 0;
 807  
 808         TRC_PVMCKERR( pvm_upkint( &tid, 1, 1 ),
 809                 "Error Unpacking Output Message", return( ecnt ) );
 810  
 811         TRC_PVMCKERR( pvm_upkint( &len, 1, 1 ),
 812                 "Error Unpacking Output Length", return( ecnt ) );
 813  
 814         /* Set Leftover Event Omit Flag */ 
 815  
tid is uninitialized816         TT = trc_get_tevtask_tid( ID, tid );     /* Uninitialized Variable */
Preconditions
&$unknown_11988284 != 0
myfmt != -1
pvmmytid = -1
pvmrbuf = 0
pvmtoplvl != 0
Postconditions
*stderr' is allocated by fopen
bytes_before(stderr)' = 0
TRC_TMP_CC' = 0
ecnt' = 0
pvmrbuf' = &$unknown_11988284
pvmtrc.trctid' >= 1
pvmtrccodef' = &$unknown_11988283




Change Warning 447.29204 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: