Skip to content

Comments

Fix crash for special case when parsing BCD#4

Open
Trinitek wants to merge 1 commit intoctrl-alt-dev:masterfrom
Trinitek:bcd-fix
Open

Fix crash for special case when parsing BCD#4
Trinitek wants to merge 1 commit intoctrl-alt-dev:masterfrom
Trinitek:bcd-fix

Conversation

@Trinitek
Copy link

@Trinitek Trinitek commented Apr 4, 2017

Fixes an issue where, when parsing a BCD where all digits come after the decimal place, trimLeadingZeros() would attempt to substring the zero-length right-side digit string. (i.e. "" would be substring'd by -1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant