-
Committer:
Package Import Robot
-
Author(s):
Dave Chiluk
-
Date:
2013-10-28 10:56:11 UTC
-
Revision ID:
package-import@ubuntu.com-20131028105611-vp5iy8tw2n79vucj
Tags: 1:3.2.8-11ubuntu6.3
Avoid SEGV if file2str should read zero bytes. This is a backport of
526bc5df from upstream. When utility buffers were introduced for file2str
read requests, a subtle change was inadvertently introduced such that a
read of zero no longer returns a -1 value. This returns to the behavior to
returning -1 on zero byte reads. (LP: #1242746)