Skip to content

Symbol parsing caps out at 32 characters #3

@fixermark

Description

@fixermark

If the size of a symbol exceeds the SBOLSZ - 1 limit (https://github.com/camsaul/nesasm/blob/master/source/symbol.c#L57), reading more characters for the symbol silently bails. This can cause aliasing of symbols if really_very_surprisingly_long_name and really_surprisingly_long_name_with_a_different_suffix are in the same program.

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