Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2773.2828
Procedure: post_routedelete
Trace: View
Modified: Wed Sep 2 12:46:08 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 post_routedelete
 1088 post_routedelete(tid, ctx, tag) 
 1089         int tid;
 1090         int ctx;
 1091         int tag;
 1092 {
 1093         int sbf;
 1094         struct waitc *wp;
 1095         struct pmsg *up;
 1096         int i;
 1097  
 1098         sbf = pvm_setsbuf(pvm_mkbuf(PvmDataFoo));
 1099         pvm_pkint(&tid, 1, 1);
 1100         i = -1;
 1101         pvm_pkint(&i, 1, 1);
 1102         sbf = pvm_setsbuf(sbf);
true1103         up = midtobuf(sbf);
up <= 40951104         up->m_ctx = ctx;     /* Null Pointer Dereference */
Preconditions
pvmautoerr != 0
pvmautoerr != 2
pvmautoerr != 3
pvmmytid = -1
Postconditions
*stderr' is allocated by fopen
bytes_before(stderr)' = 0
ctx' = $param_2
i' = -1
pvm_errno' = -2
sbf' = -2
tag' = $param_3
tid' = $param_1
up' = 0




Change Warning 2773.2828 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: