Project

General

Profile

Actions

Bug #16

closed

rand needs to be seeded when used in the engine

Added by Will Metcalf about 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

rand needs to be seeded when used here...
Security 'rand' is a poor random number generator flow.c 388
Security 'rand' is a poor random number generator defrag.c 942

normally people just seed with a timestamp but the article below suggests seeding with a hash of the timestamp.

http://www.eternallyconfuzzled.com/arts/jsw_art_rand.aspx


Files

Actions

Also available in: Atom PDF