On 17 Mar 2026, at 19:55, Mike Pattrick via dev wrote:

> The status variable was declared inside the loop but its value is used
> across loop iterations.  When the loop continues and the variable goes
> out of scope, its value is referenced leading to undefined behavior.
>
> Found with clang analyze.
>
> Fixes: ff8decf1a318 ("daemon: Add support for process monitoring and 
> restart.")
> Signed-off-by: Mike Pattrick <[email protected]>

Thanks Mike, this one took a bit more time to grasp, but it looks good
to me.

Acked-by: Eelco Chaudron <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to