Re: [ovs-dev] [PATCH v6 2/7] treewide: Avoid offsetting NULL pointers.

2022-04-28 Thread Aaron Conole
Dumitru Ceara writes: > This is undefined behavior and was reported by UB Sanitizer: > lib/meta-flow.c:3445:16: runtime error: member access within null pointer > of type 'struct vl_mf_field' > #0 0x6aad0f in mf_get_vl_mff lib/meta-flow.c:3445 > #1 0x6d96d7 in mf_from_oxm_header li

[ovs-dev] [PATCH v6 2/7] treewide: Avoid offsetting NULL pointers.

2022-04-11 Thread Dumitru Ceara
This is undefined behavior and was reported by UB Sanitizer: lib/meta-flow.c:3445:16: runtime error: member access within null pointer of type 'struct vl_mf_field' #0 0x6aad0f in mf_get_vl_mff lib/meta-flow.c:3445 #1 0x6d96d7 in mf_from_oxm_header lib/nx-match.c:260 #2 0x6d9e2e