| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0000376 | mercury | Bug | public | 2015-02-06 15:25 | 2015-02-17 12:35 | ||||
| Reporter | wangp | ||||||||
| Assigned To | wangp | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000376: base_string_to_int ignores overflow unless base 10 | ||||||||
| Description | base_string_to_int should always check for under/overflow despite the faulty reasoning in commit 51b8f76. The fix should be easy enough but I will leave this bug report for a bit in case there are dissenting opinions. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files |
| ||||||||
Notes |
|
|
zs (developer) 2015-02-06 15:51 |
No dissent from me. |
|
wangp (developer) 2015-02-10 15:03 |
Does anyone require the undocumented behaviour of allowing (and truncating) oversized binary/octal/hexadecimal literals in Mercury source? Maintaining the behaviour requires more work and potentially breaking changes in the library. |
|
juliensf (administrator) 2015-02-10 15:30 |
No and given that the behaviour is undocumented you should feel free to break it. |
|
wangp (developer) 2015-02-17 12:35 |
Fixed in commit 6a267a8 |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-02-06 15:25 | wangp | New Issue | |
| 2015-02-06 15:51 | zs | Note Added: 0000807 | |
| 2015-02-10 15:03 | wangp | Note Added: 0000809 | |
| 2015-02-10 15:30 | juliensf | Note Added: 0000810 | |
| 2015-02-17 12:35 | wangp | Note Added: 0000811 | |
| 2015-02-17 12:35 | wangp | Status | new => resolved |
| 2015-02-17 12:35 | wangp | Resolution | open => fixed |
| 2015-02-17 12:35 | wangp | Assigned To | => wangp |


