+16
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The bounds check in ramoops_init_prz was incorrect and ramoops_init_przs had no check. Additionally, ramoops_init_przs allows record_size to be 0, but ramoops_pstore_write_buf would always crash in this case. Signed-off-by:Arve Hjønnevåg <arve@android.com> Signed-off-by:
Anton Vorontsov <anton.vorontsov@linaro.org>