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]
Date:	Thu, 26 Apr 2012 14:22:30 -0400
From:	Josef Bacik <josef@...hat.com>
To:	Jim Meyering <jim@...ering.net>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Josef Bacik <josef@...hat.com>
Subject: Re: [PATCH] Btrfs: avoid buffer overrun in btrfs_printk

On Thu, Apr 26, 2012 at 06:35:12PM +0200, Jim Meyering wrote:
> 
> The buffer read-overrun would be triggered by a printk format
> starting with <N>, where N is a single digit.  NUL-terminate
> after strncpy.  Use memcpy, not strncpy, since we know the
> string we're copying fits in the destination buffer and
> contains no NUL byte.
> 
> Signed-off-by: Jim Meyering <meyering@...hat.com>

Reviewed-by: Josef Bacik <josef@...hat.com

I just noticed this but could you send to linux-btrfs@...r.kernel.org from now
on?  Thanks,

Josef
--
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