vlc_vector: assert count argument is not 0
Several vlc_vector functions must not be called with count == 0: - it's useless (e.g. pushing 0 items to a vector) - with the current implementation, it can cause memcpy() to be called to copy 0 bytes (useless) with NULL pointer for the src parameter (triggers an error in ASAN).
parent
279758e3
No related branches found
No related tags found