Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KVS] Check NULL pointer for getPref_bin_new (#21854)
* [KVS] Add NULL pointer check for getPref_bin_new Invalid read_bytes_size pointer could cause hard fault on getPref_bin_new function. * [KVS] Pass in dummy_read_bytes when read_bytes is nullptr * [Restyle] Fix styling * [KVS] Add nullptr check after pvPortMalloc * [Restyle] Fix style Co-authored-by: Andrei Litvin <[email protected]>
- Loading branch information