This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/5] Add single-threaded path to _int_free
- From: DJ Delorie <dj at redhat dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: libc-alpha at sourceware dot org, nd at arm dot com
- Date: Thu, 12 Oct 2017 18:55:28 -0400
- Subject: Re: [PATCH 3/5] Add single-threaded path to _int_free
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dj at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A715F81E08
Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
> How often do we iterate more than once? And what are the chances that
> when there is contention, the block at the top of the bin is the same
> as the one we're trying to insert but the older one we checked isn't?
Sadly, these are the cases that Bad Guys can create and take advantage
of to infect systems. Removing a test should never be done without
extreme forethought and consideration.