From: <sezeroz@ttnet.net.tr>
To: <linux-kernel@vger.kernel.org>
Cc: <marcelo.tosatti@cyclades.com>
Subject: 2.4.28-rc1, more lost patches [2/10]
Date: Wed, 27 Oct 2004 12:32:08 +0300 [thread overview]
Message-ID: <20041027093208.JXNV6935.fep01.ttnet.net.tr@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 32 bytes --]
[2/10] tun.c sign mishandling
[-- Attachment #2: tun_sign_mishandling.patch --]
[-- Type: application/octet-stream, Size: 430 bytes --]
already in 2.6
diff -urN 28rc1/drivers/net/tun.c 28rc1_aac/drivers/net/tun.c
--- 28rc1/drivers/net/tun.c 2004-08-08 02:26:05.000000000 +0300
+++ 28rc1_aac/drivers/net/tun.c 2004-10-24 00:58:10.000000000 +0300
@@ -188,7 +188,7 @@
size_t len = count;
if (!(tun->flags & TUN_NO_PI)) {
- if ((len -= sizeof(pi)) < 0)
+ if ((len -= sizeof(pi)) > len)
return -EINVAL;
memcpy_fromiovec((void *)&pi, iv, sizeof(pi));
reply other threads:[~2004-10-27 9:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041027093208.JXNV6935.fep01.ttnet.net.tr@localhost \
--to=sezeroz@ttnet.net.tr \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox