lkml.org 
[lkml]   [2008]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: parisc setup_sigcontext32() array overflows
On Sat, May 17, 2008 at 10:16:37PM +0300, Adrian Bunk wrote:
> setup_sigcontext32(struct compat_sigcontext __user *sc, struct compat_regfile __user * rf,
> struct pt_regs *regs, int in_syscall)
> {
> ...
> /* Store upper half */
> compat_reg = (compat_uint_t)(regs->gr[32] >> 32);
> ... ^^
> /* Store upper half */
> compat_reg = (compat_uint_t)((regs->gr[32]+4) >> 32);
> ... ^^
>
> <-- snip -->

Yeah, I've already fixed these, was waiting for an ack from the author.

r, Kyle


\
 
 \ /
  Last update: 2008-05-17 21:25    [W:0.035 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site