Re: [ovs-dev] [PATCH 3/4] ovsdb: Fix Clang's static analyzer 'func null dereference' warnings.

2023-10-18 Thread Eelco Chaudron
On 18 Oct 2023, at 12:56, Simon Horman wrote: > On Tue, Oct 17, 2023 at 03:49:48PM +0200, Eelco Chaudron wrote: >> Rather than crashing when a mod_double is requested, return >> `Operation not supported`. >> >> Signed-off-by: Eelco Chaudron > > Hi Eelco, > > is this a bug? If so could we have

Re: [ovs-dev] [PATCH 3/4] ovsdb: Fix Clang's static analyzer 'func null dereference' warnings.

2023-10-18 Thread Simon Horman
On Tue, Oct 17, 2023 at 03:49:48PM +0200, Eelco Chaudron wrote: > Rather than crashing when a mod_double is requested, return > `Operation not supported`. > > Signed-off-by: Eelco Chaudron Hi Eelco, is this a bug? If so could we have a Fixes tag and a description of how a user might end up in

[ovs-dev] [PATCH 3/4] ovsdb: Fix Clang's static analyzer 'func null dereference' warnings.

2023-10-17 Thread Eelco Chaudron
Rather than crashing when a mod_double is requested, return `Operation not supported`. Signed-off-by: Eelco Chaudron --- ovsdb/mutation.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ovsdb/mutation.c b/ovsdb/mutation.c index cbc71bc49..794560019 100644