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

Skip to content
Commit bd8a7f29 authored by Tatyana Brokhman's avatar Tatyana Brokhman
Browse files

UBI: Test return value of __wl_get_peb



In case of an error (if there are not free PEB's for example),
__wl_get_peb will return a negative value. In order to prevent access
violation we need to test the returned value prior to using it later on.

Change-Id: I3551d5cca5c61a265a34e0d11e1e185b19501024
Signed-off-by: default avatarTatyana Brokhman <tlinder@codeaurora.org>
parent 5020a24f
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