Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APPCRASH after app exit if NewBigInteger().ToString() function used. #110

Open
andkylele opened this issue Apr 22, 2024 · 0 comments
Open

Comments

@andkylele
Copy link

I'm submitting a bug report I'm submitting a feature request

Library Version:3.2.0.0

Please tell us about your environment:

Operating System: Windows 10 & 11

Current behavior:
Public Function HEX_To_BigNumber_2(ByRef decimalDataArr() As Byte) As String
Dim decArrPrefix00() As Byte, ls_NumVal As String
On Error GoTo error_trap
ls_NumVal = NewBigInteger(decimalDataArr).ToString()
HEX_To_BigNumber_2= ls_NumVal
Exit Function
error_trap:
HEX_To_BigNumber_2= "0"
End Function

During start program calls NewBigInteger(decimalDataArr).ToString() and everything seems fine.
But when the app is terminated some time later it crashes instead of closing gracefully. If the line:
ls_NumVal = NewBigInteger(decimalDataArr).ToString()

is replaced by:

ls_NumVal = "0"

app closes quietly (no error, no crash).

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

No branches or pull requests

1 participant