View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000353 | LDMud 3.3 | Runtime | public | 2005-01-27 19:21 | 2005-05-15 13:02 |
Reporter | Gnomi | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i686 | OS | Debian GNU/Linux | OS Version | 3.0 |
Product Version | 3.3 | ||||
Fixed in Version | 3.3 | ||||
Summary | 0000353: Foreach with references crashes the driver | ||||
Description | Hi, the following crashes the driver: mapping m = ([ 1: 1]); foreach(mixed k, mixed e: &m) k; efun::garbage_collection(); The reason is that in interpret.c line 15125 the allocated memory block for the protector structure is too small. (sizeof *lvalue is given, but it should be sizeof *prot.) Thus subsequent memory management structures will be damaged. Greetings, Gnomi. | ||||
Tags | No tags attached. | ||||
|
Yep, it's a really stupid typo: I wrote 'sizeof *lvalue' where it should have been 'sizeof *prot'. It'll be fixed in 3.3.664. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-01-27 19:21 | Gnomi | New Issue | |
2005-01-29 21:53 |
|
Status | new => resolved |
2005-01-29 21:53 |
|
Fixed in Version | => 3.3 |
2005-01-29 21:53 |
|
Resolution | open => fixed |
2005-01-29 21:53 |
|
Assigned To | => lars |
2005-01-29 21:53 |
|
Note Added: 0000316 | |
2005-05-15 13:02 |
|
Status | resolved => closed |