2024-11-22 16:15 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000376mercuryBugpublic2015-02-17 12:35
Reporterwangp 
Assigned Towangp 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000376: base_string_to_int ignores overflow unless base 10
Descriptionbase_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.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000807

zs (developer)

No dissent from me.

~0000809

wangp (developer)

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.

~0000810

juliensf (administrator)

No and given that the behaviour is undocumented you should feel free to break it.

~0000811

wangp (developer)

Fixed in commit 6a267a8
+Notes

-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
+Issue History