Commit 787cb768 authored by Sivakanth Vaka's avatar Sivakanth Vaka Committed by Shrirang Bagul
Browse files

msm: ipa: Add change to fix out of bound access issue

BugLink: https://bugs.launchpad.net/bugs/1945470



Non null terminated string from user space can cause out
of bound access issue. Hence added a NULL character
explicitly in dev name when received from user space.

Change-Id: I956b4cb2ceb1c3bac171e9f9e35929256c937948
Signed-off-by: default avatarSivakanth Vaka <svaka@codeaurora.org>
(cherry picked from commit 0e65d19a51f4a2f6e74f3a3ecfdf37424533d128)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 51c39c44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment