Correct a random value disclosure in random(4).

Security:	FreeBSD-SA-07:09.random
This commit is contained in:
Simon L. B. Nielsen 2007-11-29 16:06:12 +00:00
parent ef54068b54
commit 9790a3cbd4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174073

View File

@ -296,6 +296,7 @@ random_yarrow_read(void *buf, int count)
random_state.outputblocks = 0;
}
retval += (int)tomove;
cur = 0;
}
}
else {