Branch: refs/heads/master Home: https://github.com/OpenAMP/libmetal Commit: dd4165793f242e774c47b22479983c2cf9baeec9 https://github.com/OpenAMP/libmetal/commit/dd4165793f242e774c47b22479983c2cf... Author: Jiuzhu Dong dongjiuzhu1@xiaomi.com Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths: M lib/io.h M lib/system/nuttx/io.c
Log Message: ----------- openamp/libmetal: fix Non-zero offsets to null pointers
leads to ASAN errors: libmetal/lib/system/nuttx/io.c:78:9: runtime error: applying non-zero offset 4124131344 to null pointer metal/io.h:136:3: runtime error: applying non-zero offset 4124131440 to null pointer metal/io.h:136:3: runtime error: applying non-zero offset 4124131440 to null pointer metal/io.h:136:3: runtime error: applying non-zero offset 4124131440 to null pointer metal/io.h:136:3: runtime error: applying non-zero offset 4124131552 to null pointer metal/io.h:136:3: runtime error: applying non-zero offset 4124132000 to null pointer
Signed-off-by: Jiuzhu Dong dongjiuzhu1@xiaomi.com