mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-16 22:05:31 -05:00
module-rtp: Fix bounds checks in MIDI parsing
These are potential security problems.
This commit is contained in:
parent
b04da87e38
commit
b8e29d471b
2 changed files with 76 additions and 30 deletions
|
|
@ -32,7 +32,7 @@ struct rtp_header {
|
|||
uint16_t sequence_number;
|
||||
uint32_t timestamp;
|
||||
uint32_t ssrc;
|
||||
uint32_t csrc[0];
|
||||
uint32_t csrc[];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct rtp_payload {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue