Invalid chunk size

Hi, please file an issue with an example of how to reproduce the crash, thanks!