Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 359.29045
Procedure: post_routedelete
Trace: view
Modified: Thu Nov 26 11:30:24 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 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
pvmtoplvl = 0
Postconditions
*stderr' is allocated by fopen
bytes_before(stderr)' = 0
errno' != 0
i' = -1
pvm_errno' = -2
sbf' = -2
up' = 0




Change Warning 359.29045 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: