Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Null-Terminated Strings #1

@itisrazza

Description

@itisrazza

So... The file header doesn't allow space for null-terminated strings in some circumstances (which is fair enough).

But when it comes to display them, printf looks for a null at the end of a string, which it doesn't have (notable in the case of the identifier, which continues printing the filetype ID after).

I have no idea how to just simply tack it on for the purpose of printing. I'll see if I can do it after coming back from uni this afternoon.

I've noted where they are with a // nl comment. Here are some places to reference (FileHeader, AddinHeader, printing of FileHeader::identifier (known issue))

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