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]
Date: Sun Nov  6 15:35:02 2005
From: drepper at gmail.com (Ulrich Drepper)
Subject: 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.

Powered by blists - more mailing lists