meta-digi/meta-digi-dey/recipes-core/recovery
Hector Palacios 8a4484bbd6 recovery: check variable returned by uboot_getenv() is not NULL
The use of this function, which is a wrapper over libuboot_get_env(),
requires checking if the returned string is NULL.
Manipulations of such string without checking whether it's NULL may lead
to segfault errors.
This was seen during firmware update on a device that didn't have the
'dualboot' variable set.

Reported-by: Chandrababu Pigilam <chandrababu.pigilam@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-7645
2021-08-25 16:20:24 +02:00
..
recovery-initramfs recovery-initramfs: launch mdev as daemon 2021-06-24 10:46:19 +02:00
recovery-utils/recovery-utils recovery: check variable returned by uboot_getenv() is not NULL 2021-08-25 16:20:24 +02:00
recovery-initramfs.bb trustfence: homogenize SIGN_MODE variables 2020-02-12 18:50:19 +01:00
recovery-utils.bb gatesgarth migration: Convert u-boot-fw-utils dependencies to libubootenv dependencies 2021-05-05 19:18:11 +02:00