mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -04:00
Memory Safety: High The VBAN MIDI parse_varlen() function performed unbounded left-shifting of a uint32_t value without overflow checking, allowing a crafted VBAN network packet to cause integer overflow. This could produce incorrect size calculations in get_midi_size(), leading to out-of-bounds memory access when processing MIDI packets. Added overflow guard (value > UINT32_MAX >> 7) matching the existing fix in the RTP MIDI implementation, plus an overflow check on the size addition in get_midi_size() and an avail bounds check. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| audio.c | ||
| midi.c | ||
| stream.c | ||
| stream.h | ||
| vban.h | ||