All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Subject: [1/5] h8300 stack bounds checking
Date: Fri, 16 Apr 2004 22:37:12 -0700	[thread overview]
Message-ID: <20040417053712.GW743@holomorphy.com> (raw)
In-Reply-To: <20040417053538.GA20534@holomorphy.com>

Index: wli-2.6.5-mm6/arch/h8300/kernel/process.c
===================================================================
--- wli-2.6.5-mm6.orig/arch/h8300/kernel/process.c	2004-04-14 23:21:01.000000000 -0700
+++ wli-2.6.5-mm6/arch/h8300/kernel/process.c	2004-04-16 10:41:39.000000000 -0700
@@ -277,7 +277,7 @@
 	stack_page = (unsigned long)p;
 	fp = ((struct pt_regs *)p->thread.ksp)->er6;
 	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];

  reply	other threads:[~2004-04-17  5:37 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 ` William Lee Irwin III [this message]
2004-04-17  5:38   ` [2/5] m68k " William Lee Irwin III
2004-04-17  5:39     ` [3/5] m68knommu " William Lee Irwin III
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=20040417053712.GW743@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.