> >> -wrong initialization reported in a followup to PR bin/43336
> >> (looks harmless because it applies to zero-initialized memory, so
> >> LIST_INIT() is a no-op)
> > 
> > Does malloc(3) return zero-initialized memory?
> 
> Not unless you asked for it with M_ZERO.

Note it's malloc(3) inside !_KERNEL block
for fsck_ffs(8) to replay WAPBL journal,
so it could be seriously harmful on recovery.

---
Izumi Tsutsui

Reply via email to