[Slirp] [PATCH v2 0/2] slirp: use correct size while emulating commands
P J P
ppandit at redhat.com
Thu Jan 9 09:42:26 UTC 2020
From: Prasad J Pandit <pjp at fedoraproject.org>
Hello,
While emulating various commands in tcp_emu(), it uses 'mbuf' size
'm->m_size' to write commands via snprintf(3). This patchset changes
it to use M_FREEROOM(m) size to avoid potential OOB access.
Thank you.
--
Prasad J Pandit (2):
slirp: use correct size while emulating IRC commands
slirp: use correct size while emulating commands
src/tcp_subr.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
--
2.24.1
More information about the Slirp
mailing list