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: <a36005b50511060734l6ced511u47b6e860134bc60b@mail.gmail.com>
Date: Sun, 6 Nov 2005 07:34:55 -0800
From: Ulrich Drepper <drepper@...il.com>
To: "Casper.Dik@....com" <Casper.Dik@....com>
Cc: Ben Hutchings <ben@...adentplace.org.uk>, bugtraq@...urityfocus.com,
	full-disclosure@...ts.grok.org.uk
Subject: Re: Re: readdir_r considered harmful

On 11/6/05, Casper.Dik@....com <Casper.Dik@....com> wrote:
> I don't see how that is relevant; the typical use of readdir() is as follows:
>
>         DIR *dirp = opendir(name);
>
>         while ((dent = readdir(dirp)) != NULL) {
>                 ...
>         }
>
>         closedir(dirp);
>
> Nothing other threads do with readdir() on different dirp's will influence
> what "dent" points to.

The issue is multiple threads using the same DIR.

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ