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

Skip to content
Commit 0e4e3b4d authored by Devdutt Patnaik's avatar Devdutt Patnaik Committed by Ajay Agarwal
Browse files

usb: android: Fix buffer overflow due to incorrect snprintf length



The size_t parameter used with snprintf for lun name refers
to a different buffer while the actual buffer is 5 bytes long.
Fix this by passing the correct size_t parameter.

Change-Id: Ic8a827b82159fa2903e8047841b0ad35733b0c00
Signed-off-by: default avatarDevdutt Patnaik <dpatnaik@codeaurora.org>
parent cf7d6b15
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