diff options
author | Manoj Prabhu B <bmanoj@codeaurora.org> | 2019-04-29 12:00:48 +0530 |
---|---|---|
committer | Manoj Prabhu B <bmanoj@codeaurora.org> | 2019-05-01 14:22:19 +0530 |
commit | 9a7a4b510d9fdcb242f262ce77a2e1f88ff1d22f (patch) | |
tree | f35c3b4435ddfda7b8a54f6b0de65baee16ccbe9 /drivers/mtd/chips | |
parent | 33ddfc515d055b98eb6b76cbf4573022579ca429 (diff) |
diag: Check buffer size against command structure size
Validate the buffer size against the parsing command structure size
before parsing to prevent possible out of bound error case.
CRs-Fixed: 2437341
Change-Id: I31c9a556539fce403691294a76160ae4936e7065
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Diffstat (limited to 'drivers/mtd/chips')
0 files changed, 0 insertions, 0 deletions