Re: [PATCH v3] staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc
From: Dan Carpenter
Date: Tue Apr 14 2026 - 04:39:58 EST
Really _obj() can't be ZERO_SIZE_PTR either, or if they are then it's
very difficult to dereference them since they don't have any struct
members.
The main way that ZERO_SIZE_PTR bugs show up is with strings and NUL
terminators.
regards,
dan carpenter