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:	Sat, 7 Mar 2015 19:36:02 +0200
From:	Daniel Baluta <daniel.baluta@...il.com>
To:	Lars-Peter Clausen <lars@...afoo.de>
Cc:	Mark Brown <broonie@...nel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regmap: regcache-rbtree: Fix present bitmap resize

On Sat, Mar 7, 2015 at 6:10 PM, Lars-Peter Clausen <lars@...afoo.de> wrote:
> When inserting a new register into a block at the lower end the present
> bitmap is currently shifted into the wrong direction. The effect of this is
> that the bitmap becomes corrupted and registers which are present might be
> reported as not present and vice versa.
>
> Fix this by shifting left rather than right.
>
> Fixes: 472fdec7380c("regmap: rbtree: Reduce number of nodes, take 2")
> Reported-by: Daniel Baluta <daniel.baluta@...il.com>
> Signed-off-by: Lars-Peter Clausen <lars@...afoo.de>

Thanks Lars! I confirm that this fixes the problem :).

Daniel.
--
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