[ovs-dev] [PATCH v14 1/4] lib: Add non-null assertions to some return values of `dp_packet_data`

2023-08-03 Thread James Raphael Tiovalen
This commit adds some `ovs_assert()` checks to some return values of `dp_packet_data()` to ensure that they are not NULL and to prevent null-pointer dereferences, which might lead to unwanted crashes. We use assertions since it should be impossible for these calls to `dp_packet_data()` to return NU

Re: [ovs-dev] [PATCH v14 1/4] lib: Add non-null assertions to some return values of `dp_packet_data`

2023-08-24 Thread Eelco Chaudron
On 3 Aug 2023, at 18:19, James Raphael Tiovalen wrote: > This commit adds some `ovs_assert()` checks to some return values of > `dp_packet_data()` to ensure that they are not NULL and to prevent > null-pointer dereferences, which might lead to unwanted crashes. We use > assertions since it shou