diff options
| author | Hardik Arya <harya@codeaurora.org> | 2019-04-22 14:22:08 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-06-10 02:38:02 -0700 |
| commit | f275209c759d7c95470d4d5f7fc5281b36d6fc77 (patch) | |
| tree | 85fccda57417b0b26b8848076f85c61e22e923f3 /lib/strncpy_from_user.c | |
| parent | 5c004decb393647c7c86e624c77d230b74391853 (diff) | |
diag: Prevent out-of-bound access while processing non-hdlc pkt
While parsing non-hdlc packet buffer length passed to hdlc
recovery is not updated after parsing partial packet, Which
can lead to out-of-bound access. The patch passes the updated
buffer length for the same.
Change-Id: I5596f8c5a72680684c9c9056dccaf33e3c36832c
Signed-off-by: Hardik Arya <harya@codeaurora.org>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions
