summaryrefslogtreecommitdiff
path: root/driver/accelgyro_lsm6dsm.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-06-21 09:10:30 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-06-22 02:39:42 -0700
commit8032e90ccbceaf799eeabf6709ab66981b6cf720 (patch)
tree54350e25e55423d809b57e9ae1733465b2b3bfec /driver/accelgyro_lsm6dsm.c
parent64aa8638f134f8aca4f48f3efc5fa7427caeb772 (diff)
downloadchrome-ec-8032e90ccbceaf799eeabf6709ab66981b6cf720.tar.gz
test/rma_auth: Pad authcode before passing it to rma_try_authcode
rma_try_authcode expects a buffer that is at least RMA_AUTHCODE_CHARS long, so copy the input string to a buffer before calling the function, else AddressSanitizer will complain. BRANCH=none BUG=chromium:854924 TEST=make TEST_ASAN=y run-rma_auth -j Change-Id: Iff2b195a7c7b01b925df6d9f53e0055f98f59ded Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1109658 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'driver/accelgyro_lsm6dsm.c')
0 files changed, 0 insertions, 0 deletions