Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Null Pointer Dereference  at lpvm.c:2722

Categories: LANG.MEM.NPD CWE:476
Warning ID: 381.29085
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 (ID: 382.29086) */
dst <= 40952722         BCOPY(tids, dst, count * sizeof(int));     /* Null Pointer Dereference */  /* Buffer Overrun (ID: 22186.29351) */
Preconditions
&$unknown_3857465 != 0
&$unknown_3857465 = 4 * count
Postconditions
cc' = 0
dst' = 0
errno' != 0




Change Warning 381.29085 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: