commit | 448e07a99ee03dc5b2987e4018c8ffa645e7b6f0 | [log] [tgz] |
---|---|---|
author | Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org> | Wed Feb 28 12:21:47 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Tue Mar 06 03:53:44 2018 -0800 |
tree | 3098b7e3176b9401b4701624c0141952a3bf5df2 | |
parent | deeaf6e9b29c3343338cd733520092454aaca516 [diff] |
qcacmn: Fix integer underflow and buffer over-read in fwlog Currently, there is no check of: 1) Firmware event parameters in dbglog_parse_debug_logs(), which can result in integer underflow. 2) Number of dbg log args against the total length, which can result in buffer over-read. To fix this, compare size of firmware event parameters and number of dbg log args with total buffer length. Change-Id: I7fbc684ec9e80cfc66220755a1ad6b9394194735 CRs-Fixed: 2197246