Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-6] src/lib/libc/gen

Module Name:    src
Committed By:   riz
Date:           Thu Mar  8 17:23:36 UTC 2012

Modified Files:
        src/lib/libc/gen [netbsd-6]: arc4random.c

Log Message:
Pull up following revision(s) (requested by tls in ticket #92):
        lib/libc/gen/arc4random.c: revision 1.11
        lib/libc/gen/arc4random.c: revision 1.12
Make arc4random far less greedy for entropy.  Make arc4random actually
implement arc4 when used by threaded programs.
Fix bug in previous: don't reinitialize on every call!  Fix arc4random_buf so 
it actually ever initializes -- a security problem with revisions 1.9 and 1.10.

To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.6.1 src/lib/libc/gen/arc4random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index