[Issue 19910] ImportVisitor example fails to parse random files

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 6 14:12:29 UTC 2019


--- Comment #1 from GoaLitiuM <goalitium at dissues.mail.kapsi.fi> ---
It looks like the Parser expects the input string to be null-terminated, so the
extra garbage is just random data past the given string. Simply appending the
null character to the file content fixes this, so maybe the example needs to be
adjusted for that?


More information about the Digitalmars-d-bugs mailing list