On 4/30/07, Mike Frysinger <[EMAIL PROTECTED]> wrote:
On Sunday 22 April 2007, Nickolai Zeldovich wrote:
> The code to create a unique file (mktemp) has a logic error in uClibc.
>  When __gen_tempname picks a file name that already exists, the code
> attempts to retry.  However, the code to pick a new file name is
> outside of this retry loop, causing a retry with the same exact
> filename, which is very likely to fail again.  This patch fixes this
> problem by moving the random filename generation code inside the retry
> loop:

so attach your patch since the URL here is unavailable

Patch attached.

Nickolai.

Attachment: uclibc-tempname-patch
Description: Binary data

_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to