Fixes #41 OOM on bogus thrift input
Merge pull request #99 from cjnolet/accismus-41

Fixes #41 OOM on bogus thrift input