diff options
author | simon <simon@FreeBSD.org> | 2007-11-29 16:06:12 +0000 |
---|---|---|
committer | simon <simon@FreeBSD.org> | 2007-11-29 16:06:12 +0000 |
commit | ab5beb74a63329a51e29c1d7431c6ba2762ae85e (patch) | |
tree | 036bd0c0cda4b732c2ebda99a7df194e96d8cf31 | |
parent | df297799bda528d9bf7deeff06ea54a16f754e86 (diff) | |
download | FreeBSD-src-ab5beb74a63329a51e29c1d7431c6ba2762ae85e.zip FreeBSD-src-ab5beb74a63329a51e29c1d7431c6ba2762ae85e.tar.gz |
Correct a random value disclosure in random(4).
Security: FreeBSD-SA-07:09.random
-rw-r--r-- | sys/dev/random/yarrow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c index 010de0c..6f631bb 100644 --- a/sys/dev/random/yarrow.c +++ b/sys/dev/random/yarrow.c @@ -296,6 +296,7 @@ random_yarrow_read(void *buf, int count) random_state.outputblocks = 0; } retval += (int)tomove; + cur = 0; } } else { |