Skip to content

utils: fix seeding of the random generator

Vladimír Čunát requested to merge rand_uint into master

If the fread didn't read all in one go, the buffer was being repeatedly overwritten from the start instead of continuing the read :-/

I also changed the overall approach in some respects.

Merge request reports