Skip to content

read_elf32 incorrect number conversions #182

@pavelxdd

Description

@pavelxdd

last_section_end = file64_to_cpu(shdr32.sh_offset) + file64_to_cpu(shdr32.sh_size);

These are 32-bit fields, so file32_to_cpu should be used instead. I don't know if it changes the overall result, but I just noticed this while reading the code.

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