4 ms·
Anyone have a link to the actual patch?
by jey 14y ago
Anyone have a link to the actual patch?
- Mithrandir 14y agohttp://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_cprng.c.diff?r1=1.14&r2=1.15&only_with_tag=MAIN&f=h http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_cprng.... Fix a security issue: when we are reseeding a PRNG seeded early in boot before we had ever had any entropy, if something else has consumed the entropy that triggered the immediate reseed, we can reseed with as little as sizeof(int) bytes of entropy.
- jey 14y agoThe misplaced right-paren is in this line: rnd_extract_data(key + r, sizeof(key - r), RND_EXTRACT_ANY);
- deleted 14y ago[deleted]