Skip to content

NO_CAST.INTEGER_OVERFLOW #653

Description

@kuznetsovvvv

if (fseek(fp, block * BLCKSZ, SEEK_SET) != 0)

I found potential vulnerability on line 96. optarg can contain an arbitrary number of characters, and block is not checked after reading, so undefined behavior may occur after the block*BLCKSZ expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions