[Libguestfs] [PATCH] common/mlutils: Remove bogus suffix parameter from Mkdtemp.temp_dir.

Pino Toscano ptoscano at redhat.com
Mon Jul 24 10:49:00 UTC 2017


On Friday, 21 July 2017 18:37:41 CEST Richard W.M. Jones wrote:
> The C function mkdtemp(3) requires that the string ends with 6 'X'
> characters, so appending a non-empty suffix causes the function to
> raise EINVAL.
> 
> Luckily we only ever called this function with the last parameter "".
> ---

LGTM.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170724/0f3a8319/attachment.sig>


More information about the Libguestfs mailing list