OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2537c54
)
Fix security vulnerability: potential OOB write in audioserver am: 3f9a6d3bd9 am...
author
rago
<rago@google.com>
Wed, 30 Nov 2016 20:00:25 +0000
(20:00 +0000)
committer
android-build-merger
<android-build-merger@google.com>
Wed, 30 Nov 2016 20:00:25 +0000
(20:00 +0000)
am:
21c9c6dc69
Change-Id: I199ff9b65f50ab98676c4e449fa7cfc1ebb8ec85
include/hardware/audio_effect.h
patch
|
blob
|
history
diff --git
a/include/hardware/audio_effect.h
b/include/hardware/audio_effect.h
index
41cd2e6
..
854f0c1
100644
(file)
--- a/
include/hardware/audio_effect.h
+++ b/
include/hardware/audio_effect.h
@@
-896,6
+896,9
@@
typedef struct effect_param_s {
char data[]; // Start of Parameter + Value data
} effect_param_t;
+// Maximum effect_param_t size
+#define EFFECT_PARAM_SIZE_MAX 65536
+
// structure used by EFFECT_CMD_OFFLOAD command
typedef struct effect_offload_param_s {
bool isOffload; // true if the playback thread the effect is attached to is offloaded