Hi Will,
Could you please take a look?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
UNSAFE_TODO(GetNtExports()->memcpy)(destination, source, bytes);Arthur SonzogniLet's wrap the full expression.
Done, wrapped the full expression.
ansi_string.Length =
static_cast<USHORT>(UNSAFE_TODO(GetNtExports()->strlen)(string));Let's wrap the full expression
if (UNSAFE_TODO(file_info->FileName[0]) != kPathPrefix[0] ||Arthur SonzogniAccessing [0] is always safe. Could you please revert all of the UNSAFE_TODO in this patch about [0]?
Done, reverted UNSAFE_TODO on index 0.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
static constexpr std::array<char, kTestTransferSize> kTestString = {'T', 'E',this change is not mechanical - can you do the same thing that you did in other files and wrap in `UNSAFE_TODO` - and move this functional change to a separate CL
thanks
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +1 |
static constexpr std::array<char, kTestTransferSize> kTestString = {'T', 'E',this change is not mechanical - can you do the same thing that you did in other files and wrap in `UNSAFE_TODO` - and move this functional change to a separate CL
thanks
Done
UNSAFE_TODO(INIT_RTL(_strnicmp));
UNSAFE_TODO(INIT_RTL(strlen));
UNSAFE_TODO(INIT_RTL(wcslen));
UNSAFE_TODO(INIT_RTL(memcpy));Note: I double checked this caused -WUnsafe-buffer-usage errors. This is weird, but I guess LLVM is not yet smart enough to recognize we aren't really calling those function.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
static constexpr std::array<char, kTestTransferSize> kTestString = {'T', 'E',Arthur Sonzognithis change is not mechanical - can you do the same thing that you did in other files and wrap in `UNSAFE_TODO` - and move this functional change to a separate CL
thanks
Done
Follow-up will be:
https://chromium-review.git.corp.google.com/c/chromium/src/+/8061485
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[unsafe-buffers] Remove allow_unsafe_buffers from sandbox/
This is a mechanical change transitioning the last few files in sandbox/
from coarse, file-level pragmas to fine-grained, instruction-level
UNSAFE_TODO() macros.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |