tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] netbsd32 swapctl, round 3



Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:

> > You are leaking the contents of kernel memory to userspace.
> 
> How? I do not copy more than the string, and I only copyout filled
> records.

I see: I copy the data obtained from kmalloc() that was not initialized.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index