Skip to content
Snippets Groups Projects
Commit 3a268773 authored by Mayank Grover's avatar Mayank Grover Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 1bafd81c
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment