Page MenuHomeFreeBSD

D16983.diff
No OneTemporary

D16983.diff

Index: head/sys/dev/random/random_harvestq.c
===================================================================
--- head/sys/dev/random/random_harvestq.c
+++ head/sys/dev/random/random_harvestq.c
@@ -414,7 +414,8 @@
event.he_somecounter = (uint32_t)get_cyclecount();
event.he_size = count;
event.he_source = RANDOM_CACHED;
- event.he_destination = harvest_context.hc_destination[0]++;
+ event.he_destination =
+ harvest_context.hc_destination[RANDOM_CACHED]++;
memcpy(event.he_entropy, data + i, sizeof(event.he_entropy));
random_harvestq_fast_process_event(&event);
explicit_bzero(&event, sizeof(event));

File Metadata

Mime Type
text/plain
Expires
Tue, Jun 9, 5:22 PM (1 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33825642
Default Alt Text
D16983.diff (650 B)

Event Timeline