View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000485 | LDMud 3.3 | Efuns | public | 2006-09-11 05:03 | 2018-01-29 21:57 |
Reporter | Gnomi | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i686 | OS | Debian GNU/Linux | OS Version | 3.1 |
Fixed in Version | 3.3.717 | ||||
Summary | 0000485: Every sha1/md5 iteration should cost evals | ||||
Description | Hi, the evaluation cost for sha1() or md5() calls is constant, regardless of the given iteration count. So it is possible, to calculate the hash sum with __INT_MAX__ iterations which would probably halt a MUD for over an hour. Even eval costs of 1 per iteration is a bit cheap, because the hash calculation is very CPU intensive. (This could halt our MUD for up to half a second per thread). So, I would recommend 5 to 10 eval points per iteration. Greetings, Gnomi. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2006-09-11 05:03 | Gnomi | New Issue | |
2007-11-11 18:08 |
|
Status | new => resolved |
2007-11-11 18:08 |
|
Fixed in Version | => 3.3.717 |
2007-11-11 18:08 |
|
Resolution | open => fixed |
2007-11-11 18:08 |
|
Assigned To | => lars |
2007-11-11 18:08 |
|
Note Added: 0000579 | |
2009-04-14 12:14 | zesstra | Project | LDMud => LDMud 3.3 |
2010-11-16 09:42 |
|
Source_changeset_attached | => ldmud.git master eeaf3ff2 |
2018-01-29 18:59 |
|
Source_changeset_attached | => ldmud.git master eeaf3ff2 |
2018-01-29 21:57 |
|
Source_changeset_attached | => ldmud.git master eeaf3ff2 |