[PATCH] D48671: [sanitizer] zx_cprng_draw no longer returns any value
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 27 14:30:04 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT335790: [sanitizer] zx_cprng_draw no longer returns any value (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D48671?vs=153175&id=153181#toc
Repository:
rL LLVM
https://reviews.llvm.org/D48671
Files:
lib/sanitizer_common/sanitizer_fuchsia.cc
Index: lib/sanitizer_common/sanitizer_fuchsia.cc
===================================================================
--- lib/sanitizer_common/sanitizer_fuchsia.cc
+++ lib/sanitizer_common/sanitizer_fuchsia.cc
@@ -472,7 +472,7 @@
bool GetRandom(void *buffer, uptr length, bool blocking) {
CHECK_LE(length, ZX_CPRNG_DRAW_MAX_LEN);
- CHECK_EQ(_zx_cprng_draw(buffer, length), ZX_OK);
+ _zx_cprng_draw(buffer, length);
return true;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48671.153181.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/009cf139/attachment.bin>
More information about the llvm-commits
mailing list