projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83afc1a
)
cfm: Avoid null pointer dereference in cfm_process_heartbeat().
author
Ben Pfaff
<blp@nicira.com>
Sun, 13 May 2012 23:31:15 +0000
(16:31 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 14 May 2012 16:43:51 +0000
(09:43 -0700)
Found by clang.
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/cfm.c
patch
|
blob
|
history
diff --git
a/lib/cfm.c
b/lib/cfm.c
index
c2e2a6c
..
41a27a0
100644
(file)
--- a/
lib/cfm.c
+++ b/
lib/cfm.c
@@
-606,7
+606,7
@@
cfm_process_heartbeat(struct cfm *cfm, const struct ofpbuf *p)
if (ccm_rdi) {
cfm_fault |= CFM_FAULT_RDI;
VLOG_DBG("%s: RDI bit flagged from RMP %"PRIu64, cfm->name,
-
rmp->
mpid);
+
ccm_
mpid);
}
VLOG_DBG("%s: received CCM (seq %"PRIu32") (mpid %"PRIu64")"