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
| ||
|
Date: Sun, 09 Sep 2012 11:54:41 +0200 From: Jens Axboe <axboe@...nel.dk> To: Dave Reisner <dreisner@...hlinux.org> CC: linux-kernel@...r.kernel.org, alan@...rguk.ukuu.org.uk Subject: Re: [PATCH] block: reject invalid queue attribute values On 2012-09-08 17:55, Dave Reisner wrote: > Instead of using simple_strtoul which "converts" invalid numbers to 0, > use strict_strtoul and perform error checking to ensure that userspace > passes us a valid unsigned long. This addresses problems with functions > such as writev, which might want to write a trailing newline -- the > newline should rightfully be rejected, but the value preceeding it > should be preserved. Thanks, applied to for-3.7/core. -- Jens Axboe -- 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