Skip to content
Snippets Groups Projects
Commit cbf66a61 authored by Insun Song's avatar Insun Song Committed by Patrick Tjin
Browse files

net: wireless: bcmdhd: fix buffer overrun in private command path


buffer overrun case found when length parameter manipulated.

1. if input parameter buffer length is less than 4k,
then allocate 4k by default. It help to get enough margin
for output string overwritten.

2. added additional length check not to override user space
allocated buffer size.

bug=29000183
Change-Id: I0c15d764c1648920f0214ec47ada689ca44ebfba
Signed-off-by: default avatarInsun Song <insun.song@broadcom.com>
parent 9db2853d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment