The attached patch is a simple enough approach to avoid this class of bugs. It might not be ideal for error reporting (I highly doubt the usefulness of only reporting arbitrarily-mangled source), but it's better than nothing.
The attached patch is a simple enough approach to avoid this class of bugs. It might not be ideal for error reporting (I highly doubt the usefulness of only reporting arbitrarily-mangled source), but it's better than nothing.