Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Integer Overflow of Allocation Size  at lpvm.c:2721

Categories: ALLOC.IOAS BSI:MALLOC-OVERFLOW CWE:680
Warning ID: 382.29086
Procedure: pvmmcast
Trace: view
Modified: Thu Nov 26 11:31:26 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 pvmmcast
 2704 pvmmcast(mid, tids, count, tag) 
 2705         int mid;        
 2706         int *tids;
 2707         int count;
 2708         int tag;
 2709 {
 2710         static struct timeval ztv = { 0, 0 };
 2711  
 2712         int *dst;
 2713         int i, j;
 2714         int cc = 0;
 2715         struct ttpcb *pcbp;
 2716         int sbf;
 2717  
 2718         /*
 2719         * make sorted list of destinations 
 2720         */ 
true2721         dst = TALLOC(count, int, "mcal");     /* Integer Overflow of Allocation Size */
Preconditions
$input_12 = 0
Postconditions
cc' = 0




Change Warning 382.29086 : Integer Overflow of Allocation Size

Priority:
State:
Finding:
Owner:
Note: