Anyone has time for a unittesting issue?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 1 10:35:29 PDT 2016


On 10/01/2016 12:58 PM, Guillaume Boucher wrote:
> On Saturday, 1 October 2016 at 16:46:56 UTC, Guillaume Boucher wrote:
>> On Saturday, 1 October 2016 at 16:43:29 UTC, Stefan Koch wrote:
>>> On Saturday, 1 October 2016 at 16:05:25 UTC, Andrei Alexandrescu wrote:
>>>> https://issues.dlang.org/show_bug.cgi?id=16568
>>>>
>>>> TIA! -- Andrei
>>>
>>> Please post some code/instructions to reproduce the issue.
>>>
>>> The fix for this will be quite simple create a directory with the
>>> DDMMYY timestamp as directory name, and bundle the files under it.
>>
>> Any predictable name is a security issue.  Use e.g. mkdtemp.
>
> Well I guess checking for 700 is sufficient.  But this does not scale
> with multiple users.

I think /tmp/ is mounted per user so we should be good. Anyhow... care 
to send a PR upstream? -- Andrei


More information about the Digitalmars-d mailing list