mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-09 09:28:03 +02:00
server_add_descriptor() allocates the descriptor and its data in a single calloc (d->ptr = SPA_PTROFF(d, sizeof(struct descriptor))), so d->ptr points inside the same allocation as d. Calling free(d->ptr) frees an interior pointer, corrupting the heap. Only free(d) is needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||