c
< 	wStream sbuffer = { 0 };
---
> 	wStream sbuffer = { 0, SrcSize * 2 }; // allocate a safe size for sbuffer
