summaryrefslogtreecommitdiffstats
path: root/slirp/tcp_timer.c
diff options
context:
space:
mode:
authorPrasad J Pandit2019-01-13 18:59:48 +0100
committerSamuel Thibault2019-01-14 23:36:38 +0100
commita7104eda7dab99d0cdbd3595c211864cba415905 (patch)
tree7e0b56c8ce1fa1b553560b0f6918e9db824a2dfc /slirp/tcp_timer.c
parentslirp: Mark debugging calls as unlikely (diff)
downloadqemu-a7104eda7dab99d0cdbd3595c211864cba415905.tar.gz
qemu-a7104eda7dab99d0cdbd3595c211864cba415905.tar.xz
qemu-a7104eda7dab99d0cdbd3595c211864cba415905.zip
slirp: check data length while emulating ident function
While emulating identification protocol, tcp_emu() does not check available space in the 'sc_rcv->sb_data' buffer. It could lead to heap buffer overflow issue. Add check to avoid it. Reported-by: Kira <864786842@qq.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions