On 2/3/22 17:33, Paolo Valerio wrote:
> Dumitru Ceara writes:
>
>> It's actually undefined behavior to pass NULL to standard library
>> functions that manipulate arrays (e.g., qsort, memcpy, memcmp), even if
>> the passed number of items is 0.
>>
>> UB Sanitizer reports:
>> ovsdb/monitor.c:408:
Dumitru Ceara writes:
> It's actually undefined behavior to pass NULL to standard library
> functions that manipulate arrays (e.g., qsort, memcpy, memcmp), even if
> the passed number of items is 0.
>
> UB Sanitizer reports:
> ovsdb/monitor.c:408:9: runtime error: null pointer passed as argumen
It's actually undefined behavior to pass NULL to standard library
functions that manipulate arrays (e.g., qsort, memcpy, memcmp), even if
the passed number of items is 0.
UB Sanitizer reports:
ovsdb/monitor.c:408:9: runtime error: null pointer passed as argument 1,
which is declared to never be