commit | 4f619fba658deb64633165bdae0efea47db42952 | [log] [tgz] |
---|---|---|
author | Amit Pundir <amit.pundir@linaro.org> | Tue Apr 14 22:45:05 2020 +0530 |
committer | Todd Kjos <tkjos@google.com> | Sat Apr 25 15:22:54 2020 +0000 |
tree | ff18079ba379f9fee38b476555d240e8faeae4d4 | |
parent | aab5ced6ec820b19c167b4ad23cc299b6966e93b [diff] |
qcom: pd-mapper: Null terminate firmware_value string Null terminate firmware_value string to prevent strlen() read past the end of buffer. Otherwise pd-mapper will crash: console:/ # pd-mapper FORTIFY: strlen: detected read past end of buffer Aborted 134|console:/ # Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Id0b9e1dda2bae12e3a36f1ce40376d1161878894