lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0908121208300.27880@chino.kir.corp.google.com>
Date:	Wed, 12 Aug 2009 12:17:01 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Vincent Li <macli@....ubc.ca>
cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, kosaki.motohiro@...fujitsu.com,
	mel@....ul.ie, mpm@...enic.com
Subject: Re: [PATCH] fs/proc/: fix input sanity check.

On Wed, 12 Aug 2009, Vincent Li wrote:

> I re-read the clear_refs_write() in fs/proc/task_mmu.c, If I understand it 
> correctly, The old code takes  non-zero string 
> from userspace and convert it to unsigned long interger value. for 

strict_strtol() converts to long.

> example,It accepts:
> 
> echo 1 > /proc/pid/clear_refs
> echo 12foo > /proc/pid/clear_refs
> 

http://userweb.kernel.org/~akpm/mmotm/broken-out/pagemap-clear_refs-modify-to-specify-anon-or-mapped-vma-clearing.patch
changes that, so you'll need to rebase on mmotm.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ