[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] correct size computation in m_cat
From: |
P J P |
Subject: |
[Qemu-devel] [PATCH 0/2] correct size computation in m_cat |
Date: |
Tue, 5 Jun 2018 23:38:34 +0530 |
From: Prasad J Pandit <address@hidden>
Hello,
While reassembling incoming fragmented datagrams, 'm_cat' routine
extends the 'mbuf' buffer if it has insufficient room. It computes
a wrong buffer size, which leads to overwriting adjacent heap buffer
area.
This patch set fixes this issue and formats m_cat() routine as per coding
style guide.
Thank you.
--
Prasad J Pandit (2):
slirp: correct size computation while concatenating mbuf
slirp: reformat m_cat routine
slirp/mbuf.c | 38 +++++++++++++++++---------------------
1 file changed, 17 insertions(+), 21 deletions(-)
--
2.17.1
- [Qemu-devel] [PATCH 0/2] correct size computation in m_cat,
P J P <=