summaryrefslogtreecommitdiff
path: root/iface.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-16 14:55:48 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-16 14:55:48 +0100
commitaff96bf116c07d0e513be84648e31fc0bcc34567 (patch)
tree5cf80d0f152ceeca892dce04e30bf7c0f2450ba9 /iface.c
parentd4c816135ef7acaa03f303b2902734d766f93b01 (diff)
plt: Fix packet length check in pkt_put()
pkt_len() return the amount of bytes the packet currently holds. Together with the newly added bytes it mustn't exceed p->size. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'iface.c')
0 files changed, 0 insertions, 0 deletions
e after free bugs
Say we got really unlucky and these failed on the last iteration, then it could lead to a use after free bug. Fixes: cd6851f30386 ("smc: remote memory buffers (RMBs)") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/xen/interface/elfnote.h')