Skip to content

Integer overflow #136

@M3xR

Description

@M3xR

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions