Pavel Labath
ef2fbb02da
MemoryBuffer: Add a missing error-check to getOpenFileImpl
...
Summary:
In case the function was called with a desired read size *and* the file
was not an "mmap()" candidate, the function was falling back to a
"pread()", but it was failing to check the result of that system call.
This meant that the function would return "success" even though the read
operation failed, and it returned a buffer full of uninitialized memory.
Reviewers: rnk, dblaikie
Subscribers: kristina, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66224
llvm-svn: 368977
2019-08-15 08:20:15 +00:00
..
2019-01-19 08:50:56 +00:00
2019-08-06 09:03:21 +00:00
2019-07-31 03:22:08 +00:00
2019-01-19 08:50:56 +00:00
2019-04-25 11:57:40 +00:00
2019-05-30 12:57:04 +00:00
2019-01-19 08:50:56 +00:00
2019-04-17 15:38:27 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-05 13:59:24 +00:00
2018-06-13 18:32:02 +00:00
2019-01-19 08:50:56 +00:00
2019-07-31 08:27:42 +00:00
2019-07-11 08:54:28 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-08 12:31:12 +00:00
2019-08-07 11:44:47 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-03-11 09:06:18 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-14 13:59:04 +00:00
2019-07-24 12:38:34 +00:00
2019-07-30 00:27:33 +00:00
2019-08-14 13:59:04 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-14 13:59:04 +00:00
2019-01-19 10:56:40 +00:00
2019-04-25 12:51:42 +00:00
2019-04-12 18:18:08 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-04-25 09:03:32 +00:00
2019-07-31 19:40:07 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 08:20:15 +00:00
2019-05-20 20:53:05 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-14 13:59:04 +00:00
2019-01-19 08:50:56 +00:00
2019-08-14 13:59:04 +00:00
2019-08-05 05:43:48 +00:00
2019-08-14 13:59:04 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-14 13:59:04 +00:00
2019-01-19 08:50:56 +00:00
2019-01-20 21:19:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-07-31 12:52:17 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-05-06 13:41:54 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-07-03 00:45:53 +00:00
2019-01-19 08:50:56 +00:00
2019-07-12 06:23:24 +00:00
2019-01-19 08:50:56 +00:00