Skip to content

Incorrect VBA dir stream parsing of REFERENCENAME #2

@bnbdr

Description

@bnbdr

When encountering a REFERENCENAME record of the VbaProject dir stream where reference_reserved is not 0x003E the code doesn't continue parsing from that point because the implementation used a switch-case, so the new value is overrun in the new iteration of the loop.

check = reference_reserved

Using multiple if statements would solve this, similar to how olevba has done this

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