Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2c4dadbb authored by rbandi's avatar rbandi
Browse files

HID: qvr: Fix for potential heap buffer overflow



Value of sensor->calib_data_len could be changed between
the reads causing potential heap buffer overflow.
When a 0 length is passed to kzalloc, non-NULL pointer
is returned, but this pointer is invalid.

Change-Id: Ie6ed76f63f7a433728e2292222ba9716c3a02635
Signed-off-by: default avatarrbandi <rohitbandi@codeaurora.org>
parent b482a807
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment