chiark / gitweb /
Decrease buffer size when advancing past NUL byte
authorDavid Zeuthen <davidz@redhat.com>
Tue, 2 Mar 2010 22:06:33 +0000 (17:06 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 2 Mar 2010 22:06:33 +0000 (17:06 -0500)
Otherwise we'll overflow the buffer if space is tight. Also add a comment explaining this.

Signed-off-by: David Zeuthen <davidz@redhat.com>

No differences found