Fix security vulnerability: potential OOB write in audioserver am: 3f9a6d3bd9
am: 28d8817df3
Change-Id: Icd0c6917e987c5a5cbb1fb540a4d34e2032d6081
This commit is contained in:
commit
750a6a4ed8
1 changed files with 3 additions and 0 deletions
|
@ -895,6 +895,9 @@ typedef struct effect_param_s {
|
||||||
char data[]; // Start of Parameter + Value data
|
char data[]; // Start of Parameter + Value data
|
||||||
} effect_param_t;
|
} effect_param_t;
|
||||||
|
|
||||||
|
// Maximum effect_param_t size
|
||||||
|
#define EFFECT_PARAM_SIZE_MAX 65536
|
||||||
|
|
||||||
// structure used by EFFECT_CMD_OFFLOAD command
|
// structure used by EFFECT_CMD_OFFLOAD command
|
||||||
typedef struct effect_offload_param_s {
|
typedef struct effect_offload_param_s {
|
||||||
bool isOffload; // true if the playback thread the effect is attached to is offloaded
|
bool isOffload; // true if the playback thread the effect is attached to is offloaded
|
||||||
|
|
Loading…
Reference in a new issue