Re: [PATCH] tools/counter: Reject invalid watch fields before narrowing
From: William Breathitt Gray
Date: Tue Nov 24 2026 - 14:18:07 EST
On Fri, 20 Nov 2026 14:19:32 +0800, Zhu Jun wrote:
> The channel, component ID and parent fields are all eight bits wide.
> The current parser accepts trailing characters and silently narrows
> values above 255, which can select the wrong counter watch. Parse
> these fields before assignment and only accept a value in range.
>
>
Applied, thanks!
[1/1] tools/counter: Reject invalid watch fields before narrowing
commit: 0fdd4e1bdaa9084785280ce233fd3ddab04ff9cc
Best regards,
--
William Breathitt Gray <wbg@xxxxxxxxxx>