Re: [PATCH] w1: validate slave string length before checking separator
From: Krzysztof Kozlowski
Date: Fri Jul 03 2026 - 05:46:37 EST
On 30/06/2026 08:57, Pengpeng Hou wrote:
> w1_atoreg_num() checks buf[2] for the family/id separator before proving
> the input contains that byte.
And calls sscanf for more... Feels like you are following some AI advice
and do not check the actual code.
Best regards,
Krzysztof