~ubuntu-branches/ubuntu/raring/procps/raring-proposed

Viewing all changes in revision 69.

  • Committer: Package Import Robot
  • Author(s): Dave Chiluk
  • Date: 2013-10-28 10:42:09 UTC
  • Revision ID: package-import@ubuntu.com-20131028104209-i228ic834bdg6av0
Tags: 1:3.3.3-2ubuntu5.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)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: