CVE-2014-9653.4.a9aef15.patch 413 B

12345678910111213141516171819
  1. Subject: Fix stray return -1; from glen at delfi dot ee
  2. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  3. Date: Tue Feb 26 16:20:42 2013 +0000
  4. Origin: FILE5_13-1-ga9aef15
  5. Last-Update: 2015-04-19
  6. (prequisite for CVE-2014-9653)
  7. --- a/src/cdf.c
  8. +++ b/src/cdf.c
  9. @@ -298,8 +298,6 @@
  10. if (info->i_fd == -1)
  11. return -1;
  12. - return -1;
  13. -
  14. if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
  15. return -1;