Description[CrOS Tether] Fix a buffer overflow issue caught by the ASAN bots.
The issue is that memcpy() was used to copy (N+1) bytes from a source
that was N bytes to a destination that was (N+1) bytes. The fix is only
copying N bytes.
BUG=672263, 734225
Review-Url: https://codereview.chromium.org/2943793002
Cr-Commit-Position: refs/heads/master@{#480235}
Committed: https://chromium.googlesource.com/chromium/src/+/04f2b90690644acc3c81bdd98ab7f379eddb10b7
Patch Set 1 #
Total comments: 2
Patch Set 2 : thestig@ comment. #Messages
Total messages: 14 (6 generated)
|