Messages in this thread |  | | Date | Tue, 4 Aug 2026 14:25:53 -0700 | | From | Jakub Kicinski <> | | Subject | Re: [PATCH net-next 1/2] tools: ynl: check for null ptr on dump free |
| |
On Mon, 3 Aug 2026 20:16:51 +0000 Thaison Phan wrote: > Static analysis
What's the tool? I guess we can do this but I'd factor it out to a separate check at the start of the function. Otherwise it reads as if there could be a NULL on the list itself.
FWIW NULL is not an empty list, it's a dump error. So the static tool / LLM is definitely wrong. But I guess free(NULL) is supposed to be a noop in general so whatever.
|  |