lkml.org 
[lkml]   [2004]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[3/5] m68knommu stack bounds checking
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];
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.158 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site