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

> Previously json_from_stream() read a file until a 0 byte read.  Clang
> complained that fread on a file in eof or error state is an undefined
> behaviour.
>
> Found with clang analyze.
>
> Fixes: f38b84ea2b6b ("Implement JSON parsing and serialization.")
> Signed-off-by: Mike Pattrick <[email protected]>

Thanks Mike for the patch! This change makes sense 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