Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Null Pointer Dereference  at lpvm.c:2722

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2799.2859
Procedure: pvmmcast
Trace: View
Modified: Wed Sep 2 12:47:16 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 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");
dst <= 40952722         BCOPY(tids, dst, count * sizeof(int));     /* Null Pointer Dereference */  /* Null Pointer Dereference (ID: 2805.2865) */
Preconditions
$param_3 >= 1
&$unknown_1869686 = 4 * $param_3
&$unknown_1869686 >= 4
Postconditions
cc' = 0
count' = $param_3
dst' = 0
mid' = $param_1
tag' = $param_4
tids' = $param_2




Change Warning 2799.2859 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: