Bugfix: the "[alert] zero size buf" error.
Merge pull request #307 from taoyuanyuan/t

Bugfix: the "[alert] zero size buf" error.