Fix SIGSEGV crash in slirp networking code
PATCH 1/1 Fix SIGSEGV crash in slirp networking code
Hello,
this patch fixes a bug which was introduced in r6288. Please apply it to Qemu trunk.
See this discussion for details:
Regards
Stefan Weil
Fix SIGSEGV crash in networking code (bug was introduced in r6288). Thanks to Gleb Natapov for finding this fix.
Signed-off-by Stefan Weil <[email protected]>
slirp/ip_input.c +1 -2
@@ -392,8 +392,7 @@* into the new buffer. */ if (m->m_flags &M_EXT ) { -int delta; - delta = (char *)ip - m->m_dat; +int delta = (char *)q - m->m_dat; q = (struct ipasfrag *)(m->m_ext + delta); }
Blue Swirl
AppliedQuoted 9 lines · Stefan Weil
Hello,
this patch fixes a bug which was introduced in r6288. Please apply it to Qemu trunk.
See this discussion for details:
Thanks, applied.