mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -04:00
protocl-native: v0: Fix integer overflow to buffer overflow
Too many dict items could cause an integer overflow leading to a stack-based buffer overflow.
This commit is contained in:
parent
9a66938283
commit
adb3a55703
3 changed files with 12 additions and 4 deletions
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
#include <pipewire/extensions/protocol-native.h>
|
||||
|
||||
#define MAX_DICT 1024
|
||||
#define MAX_PARAM_INFO 128
|
||||
#define MAX_PERMISSIONS 4096
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue