Date: Tue, 14 Apr 1998 00:25:07 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdio mktemp.c Message-ID: <199804140725.AAA13705@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/04/14 00:25:07 PDT Modified files: lib/libc/stdio mktemp.c Log: Fix a nasty flaw as a result of using the arc4random() pre-seeding of leading XXX's. It could wrap an uppercase character through chars like: [ \ ] ^ _ ` in between Z and a. The backslash and back tick might be particularly nasty in a shell script context. Also, since we've been using upper-case generated values for a while now, go with the flow and use them in the pathname search rotation. Revision Changes Path 1.10 +4 -2 src/lib/libc/stdio/mktemp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804140725.AAA13705>