Null-Terminated Strings
itisrazza opened this issue · 0 comments
itisrazza commented
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))