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

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

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

2025-05-23 Thread Cédric Le Goater
On 5/22/25 11:16, 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(). I don't see such errors. Root cause: - Missing NIC config

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

2025-05-22 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: - Add nic configuration