~ubuntu-branches/ubuntu/quantal/procps/quantal-proposed

Viewing all changes in revision 67.

  • Committer: Package Import Robot
  • Author(s): Dave Chiluk
  • Date: 2013-10-28 10:51:35 UTC
  • Revision ID: package-import@ubuntu.com-20131028105135-o34ejz35nqmk7ne9
Tags: 1:3.3.3-2ubuntu3.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: