[1.2>master] [MERGE #882] Fixing the static warning by adding sufficient validation for the buffer.
[1.2>master] [MERGE #882] Fixing the static warning by adding sufficient validation for the buffer.

Merge pull request #882 from akroshg:warn

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