diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2018-06-05 23:38:35 +0530 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-08 09:08:30 +0300 |
commit | 48b6c898f33297a9bb731ff719c678b2aebff474 (patch) | |
tree | 9a80ad4cc433d0cc5372e1cfe45d74e6ee45beea /tftp.c | |
parent | 825d842f1458969f50bdf6a5620c77d15d1b8531 (diff) | |
download | slirp-48b6c898f33297a9bb731ff719c678b2aebff474.zip slirp-48b6c898f33297a9bb731ff719c678b2aebff474.tar.gz slirp-48b6c898f33297a9bb731ff719c678b2aebff474.tar.bz2 |
slirp: correct size computation while concatenating mbuf
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. Correct this size computation in m_cat.
Reported-by: ZDI Disclosures <zdi-disclosures@trendmicro.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'tftp.c')
0 files changed, 0 insertions, 0 deletions