Searched hist:"5 f51bfdaad90f1e4c636d41e09e554ae10594a4c" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/lib/libfdt/ |
| H A D | fdt_rw.c | 5f51bfdaad90f1e4c636d41e09e554ae10594a4c Thu Aug 18 13:13:11 UTC 2016 Jens Wiklander <jens.wiklander@linaro.org> libfdt: undef sanitizer fix fdt_setprop()
Fixes undefined sanitizer problem in fdt_setprop().
The compiler (gcc 5.3) issues some runtime checks with -fsanitize=undefined which is triggered if for instance any of the pointers supplied to memcpy() is NULL as val can be in fdt_setprop() if there's no value.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMUv7) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|