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

Commit e62f72ef authored by Siba Prasad's avatar Siba Prasad Committed by Gerrit - the friendly Code Review server
Browse files

block: test-iosched: Restrict number of bios in the test request



num_bios is passed in test_iosched_add_wr_rd_test_req().
Restrict the number of bios to bios buffer size while preparing test
request. Otherwise, it may lead to the buffer overflow if num_bios is
larger than the size of bios buffer.

Change-Id: Ib523f2b5bd91fea7b24f3b1260ebdcb1a1b7b9ab
Signed-off-by: default avatarSiba Prasad <sibap@codeaurora.org>
parent e2fb6b5f
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