Re: [PATCH]: Fix get_compat_sigevent()

From: Stephen Rothwell
Date: Tue Apr 05 2005 - 02:45:18 EST


On Mon, 4 Apr 2005 22:44:09 -0700 "David S. Miller" <davem@xxxxxxxxxxxxx> wrote:
>
> I have no idea how a bug like this lasted so long.

Probably because very few programs pass sigevents into the kernel ...

> - memset(&event, 0, sizeof(*event));
> + memset(event, 0, sizeof(*event));

Blush :-)

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature