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

Integer overflow #136

Closed
M3xR opened this issue Oct 21, 2022 · 3 comments
Closed

Integer overflow #136

M3xR opened this issue Oct 21, 2022 · 3 comments

Comments

@M3xR
Copy link

M3xR commented Oct 21, 2022

Hello i have a problem with reading QR codes.
I am using FMXTestApp

it happens every time (sometime on first read, sometime on X read) and the error is in this

Unit - ZXing.Common.BitArrayImplementation
Function - function TBitArrayImplementation.getNextUnset(from: Integer): Integer
Code - currentBits := currentBits and (not( (1 shl (from and $1F)) - 1))  (line 161)

I have 3.9.4 version
Android 32

@Spelt
Copy link
Owner

Spelt commented Oct 21, 2022 via email

@M3xR
Copy link
Author

M3xR commented Oct 21, 2022

Any QR code or Barcode i am using online generator. I find out the error hapens only in debug mode. If i run application in mobile or run it without debugging the error will not show.
I am using Delphi 10.4

@Spelt
Copy link
Owner

Spelt commented Nov 18, 2022

This should be fixed now.

@Spelt Spelt closed this as completed Nov 18, 2022
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

2 participants