talloc: don't trigger undefined behavior in TARRAY_CONCAT
Concatenating 0 elements from NULL to any other array is fine. So don't call memmove() with src=NULL, even if the size is 0, since this triggers ubsan.
Please register or sign in to comment
Concatenating 0 elements from NULL to any other array is fine. So don't call memmove() with src=NULL, even if the size is 0, since this triggers ubsan.
VideoLAN code repository instance