View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000866 | LDMud 3.5 | LPC Compiler/Preprocessor | public | 2018-08-26 22:43 | 2019-04-05 19:31 |
Reporter | willem | Assigned To | Gnomi | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.5.1 | ||||
Target Version | 3.5.2 | Fixed in Version | 3.5.2 | ||
Summary | 0000866: Improper use of reserved word 'function' crashes the driver | ||||
Description | Improper use of reserved word 'function' crashes the driver. | ||||
Steps To Reproduce | Compile this file:#pragma weak_types test1() { function = allocate(1); } test2(str) { string who; if (sscanf(str,"%s arrives", who) != 1) return 0; } | ||||
Additional Information | Driver version: 3.5.1-4-g7466f90d Error in debug log: List of locals clobbered: depth 3, block_depth 2 | ||||
Tags | crash | ||||
|
Thank you for reporting! Works for me as well with even a bit more reduction: void test1() { function = 42; } void test2() { int who; printf(who); } |
|
Fix committed in revision ee2d87d7d999978422d24b739f42330c533e48bc to master branch (see changeset 4152 for details). Thank you for reporting! |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-08-26 22:43 | willem | New Issue | |
2018-08-26 22:43 | willem | Tag Attached: crash | |
2018-08-27 18:12 | zesstra | Assigned To | => zesstra |
2018-08-27 18:12 | zesstra | Status | new => confirmed |
2018-08-27 18:12 | zesstra | Note Added: 0002462 | |
2018-08-27 18:15 | zesstra | Priority | normal => high |
2018-08-27 18:15 | zesstra | Target Version | => 3.5.2 |
2018-08-30 20:49 | Gnomi | Assigned To | zesstra => Gnomi |
2018-08-30 21:28 | Gnomi | Source_changeset_attached | => ldmud.git master ee2d87d7 |
2018-08-30 21:28 | Gnomi | Note Added: 0002463 | |
2018-08-30 21:28 | Gnomi | Status | confirmed => resolved |
2018-08-30 21:28 | Gnomi | Resolution | open => fixed |
2019-04-05 19:31 | zesstra | Fixed in Version | => 3.5.2 |