Fix a buffer overflow issue when using StringInput
Fix a buffer overflow issue when using StringInput

Previously, parsing from a string longer than the buffer size (512
characters) would result in memory corruption and parsing errors.

CompilerTeaching/Pegmatite,fabriquer/Pegmatite