From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Subject: [3/5] m68knommu stack bounds checking
Date: Fri, 16 Apr 2004 22:39:05 -0700 [thread overview]
Message-ID: <20040417053905.GY743@holomorphy.com> (raw)
In-Reply-To: <20040417053805.GX743@holomorphy.com>
Index: wli-2.6.5-mm6/arch/m68knommu/kernel/process.c
===================================================================
--- wli-2.6.5-mm6.orig/arch/m68knommu/kernel/process.c 2004-04-14 23:21:02.000000000 -0700
+++ wli-2.6.5-mm6/arch/m68knommu/kernel/process.c 2004-04-16 10:40:35.000000000 -0700
@@ -415,7 +415,7 @@
stack_page = (unsigned long)p;
fp = ((struct switch_stack *)p->thread.ksp)->a6;
do {
- if (fp < stack_page+sizeof(struct task_struct) ||
+ if (fp < stack_page+sizeof(struct thread_info) ||
fp >= 8184+stack_page)
return 0;
pc = ((unsigned long *)fp)[1];
next prev parent reply other threads:[~2004-04-17 5:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-17 5:35 [0/5] stack bounds checking William Lee Irwin III
2004-04-17 5:37 ` [1/5] h8300 " William Lee Irwin III
2004-04-17 5:38 ` [2/5] m68k " William Lee Irwin III
2004-04-17 5:39 ` William Lee Irwin III [this message]
2004-04-17 5:39 ` [4/5] ppc32 " William Lee Irwin III
2004-04-17 5:40 ` [5/5] sparc32 " William Lee Irwin III
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=20040417053905.GY743@holomorphy.com \
--to=wli@holomorphy.com \
--cc=linux-kernel@vger.kernel.org \
/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