commit | 4416491b34f498737ef7028199c72cb000faa8e2 | [log] [tgz] |
---|---|---|
author | Sreelakshmi Gownipalli <sgownipa@codeaurora.org> | Tue Oct 17 13:30:10 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Oct 17 14:13:59 2017 -0700 |
tree | f96222036e5f36c728ab3aa9a176d1e346d2a73f | |
parent | cc8c86a2384e832ce31895e28fbbdc861d0c35f6 [diff] |
diag: Copy the message mask into buffer with correct length In diag_msg_mask_copy copying the msg mask into destination buffer with incorrect length can lead to out of bounds memory access for the src buffer. Use correct length while copying the mask into the destination buffer. Change-Id: If7bcfa7c578e60ffc26af10046df5d1cbd85892d Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>