Update readme.md

Note on invalid buffer size workaround