[MERGE #2263 @kfarnung] Added a null-terminating character to the character list when scanning a number.
[MERGE #2263 @kfarnung] Added a null-terminating character to the character list when scanning a number.

Merge pull request #2263 from kfarnung:ttserialize

This ensures that we won't overflow the heap while reading the scanned data.

Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore