mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
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 | ||