Branch: refs/heads/master Home: https://github.com/OpenAMP/libmetal Commit: 7e171668c59c324d031a8f1491a636dc41c2e6a4 https://github.com/OpenAMP/libmetal/commit/7e171668c59c324d031a8f1491a636dc4... Author: Mark-PK Tsai mark-pk.tsai@mediatek.com Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths: M lib/io.c
Log Message: ----------- io: add null pointer check in io block ops
metal_io_virt returns NULL on invalid input metal_io_region. Check ptr before use it and remove the offset check which is already tested in metal_io_virt.
Signed-off-by: Mark-PK Tsai mark-pk.tsai@mediatek.com
openamp-rp@lists.openampproject.org