RE: [PATCH v2 1/5] hw/arm/aspeed_ast2700-fc: Fix null pointer dereference in ca35 init

2025-05-14 Thread Steven Lee
Troy Lee ; long...@lenovo.com; Yunlin Tang > > Subject: Re: [PATCH v2 1/5] hw/arm/aspeed_ast2700-fc: Fix null pointer > dereference in ca35 init > > On 5/14/25 11:03, Steven Lee wrote: > > Clang's sanitizer reports a runtime error when booting with '-

Re: [PATCH v2 1/5] hw/arm/aspeed_ast2700-fc: Fix null pointer dereference in ca35 init

2025-05-14 Thread Cédric Le Goater
On 5/14/25 11:03, Steven Lee wrote: Clang's sanitizer reports a runtime error when booting with '-net nic -net user', due to a null pointer being passed to memory_region_find(), which subsequently triggers a crash in flatview_lookup(). Root cause: - Missing NIC configuration in the CA35 initiali

[PATCH v2 1/5] hw/arm/aspeed_ast2700-fc: Fix null pointer dereference in ca35 init

2025-05-14 Thread Steven Lee via
Clang's sanitizer reports a runtime error when booting with '-net nic -net user', due to a null pointer being passed to memory_region_find(), which subsequently triggers a crash in flatview_lookup(). Root cause: - Missing NIC configuration in the CA35 initialization. Fix: - Reduce ca35 ram size f