commit | 0727b7b0d4cafb091397b76f75a3a4f66852a361 | [log] [tgz] |
---|---|---|
author | Mayank Grover <groverm@codeaurora.org> | Wed Nov 18 12:05:17 2020 +0530 |
committer | Mayank Grover <groverm@codeaurora.org> | Wed Nov 18 12:05:17 2020 +0530 |
tree | 4b14a1781a58f75dc7ab4cd19418b4129a2c7c20 | |
parent | f29362071f7af4db6330cb72a3e33a07f30f8cf2 [diff] |
QcomModulePkg: Allocate gRXBuffer size to match requested size Allocated fbd.gRxBuffer currently is 1MB which queued to receive cmd from host is less than size of command requested which is GetXfrSize() 16MB. The command size buffer of more than 1MB can cause crash on device, which is due to buffer overflow. Change to allocate fbd.gRxBuffer equal to maximum requested size. Change-Id: I16c947412dc805c0ca7e364967c53120a824d3ad