Skip to content

Integer overflow in search cursor allocation leads to heap buffer overflow #2

@consigcody94

Description

@consigcody94

Found via code audit. src/dbmem-search.c:83-118. entries*2 can overflow int. Subsequent size calculation produces small allocation. Pointer arithmetic writes past buffer. No overflow checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions