Message ID | 1458472983-17766-1-git-send-email-samuel.thibault@ens-lyon.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Ah, sorry, that didn't include the cover letter with the branch to pull from. I have resent the pull request. Samuel
diff --git a/slirp/ip_input.c b/slirp/ip_input.c index 12f173d..b464f6b 100644 --- a/slirp/ip_input.c +++ b/slirp/ip_input.c @@ -85,7 +85,7 @@ ip_input(struct mbuf *m) DEBUG_ARG("m_len = %d", m->m_len); if (m->m_len < sizeof (struct ip)) { - return; + goto bad; } ip = mtod(m, struct ip *);
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> --- slirp/ip_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)