[ovs-dev] [PATCH 3/3] ovsdb-idl: Fix NULL deref reported by Coverity.
William Tu
u9012063 at gmail.com
Tue May 12 15:41:17 UTC 2020
On Sat, May 9, 2020 at 11:02 AM Yifeng Sun <pkusunyifeng at gmail.com> wrote:
>
> Thanks William, this patch looks good to me.
> Maybe code will be a little neater with the fixes below:
>
> @@ -1017,6 +1017,9 @@ static void
> free_data(enum ovsdb_atomic_type type,
> union ovsdb_atom *atoms, size_t n_atoms)
> {
> + if (!atoms) {
> + return;
> + }
> if (ovsdb_atom_needs_destruction(type)) {
>
>
>
> Reviewed-by: Yifeng Sun <pkusunyifeng at gmail.com>
>
Thank you.
I applied the series to master.
William
More information about the dev
mailing list