mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-05 07:30:10 +00:00
d2114c3f2e
Currently, the code allocates sizeof(header) * sizeof(item) * n_items bytes instead of the more appropriate sizeof(header) + sizeof(item) * n_items Fix that by simply changing the first multiplication to addition, and furthermore, use a flexible array member instead of a zero-sized array. Found by clang-tidy. |
||
---|---|---|
.. | ||
examples | ||
include | ||
plugins | ||
tests | ||
tools | ||
meson.build |