~ubuntu-branches/ubuntu/saucy/procps/saucy-proposed

Viewing all changes in revision 70.

  • Committer: Package Import Robot
  • Author(s): Dave Chiluk
  • Date: 2013-10-28 10:36:11 UTC
  • Revision ID: package-import@ubuntu.com-20131028103611-imulypf758a0555q
Tags: 1:3.3.3-2ubuntu9
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: