diff options
author | Anthony Liguori | 2011-02-14 21:24:24 +0100 |
---|---|---|
committer | Anthony Liguori | 2011-02-14 21:24:24 +0100 |
commit | 8fe3046f17ff98469c5874a0e7be823adc768485 (patch) | |
tree | 756f7803e5ccffbf3488ecd5436e6d12b9c5deba /slirp | |
parent | PATCH] slirp: fix buffer overrun (diff) | |
download | qemu-8fe3046f17ff98469c5874a0e7be823adc768485.tar.gz qemu-8fe3046f17ff98469c5874a0e7be823adc768485.tar.xz qemu-8fe3046f17ff98469c5874a0e7be823adc768485.zip |
Fix build from previous commit
I unfortunately got on an unnamed branch and pushed the wrong bits
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp')
-rw-r--r-- | slirp/mbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/mbuf.c b/slirp/mbuf.c index eadc802241..ce2eb843f5 100644 --- a/slirp/mbuf.c +++ b/slirp/mbuf.c @@ -65,7 +65,7 @@ m_get(Slirp *slirp) m->m_flags = (flags | M_USEDLIST); /* Initialise it */ - m->m_size = SLIRP_MSIZE - offsetof(struct m_hdr, m_dat); + m->m_size = SLIRP_MSIZE - offsetof(struct mbuf, m_dat); m->m_data = m->m_dat; m->m_len = 0; m->m_nextpkt = NULL; |