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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1474381450.23058.13.camel@edumazet-glaptop3.roam.corp.google.com>
Date:   Tue, 20 Sep 2016 07:24:10 -0700
From:   Eric Dumazet <eric.dumazet@...il.com>
To:     Jiri Pirko <jiri@...nulli.us>
Cc:     netdev@...r.kernel.org
Subject: Re: UBSAN reports issue in ip_idents_reserve

On Tue, 2016-09-20 at 07:18 -0700, Eric Dumazet wrote:

> +	 */
> +	if (unlikely(atomic_cmpxchg(p_id, old, new) != old))
> +		new = prandom_u32();
> +	return new;

Looks like we should return new - segs;





Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ