Hi,
This patchset is revised version of my previous one.
[alsa-devel] [PATCH 0/3] ALSA: add dimension information validator http://mailman.alsa-project.org/pipermail/alsa-devel/2016-June/109811.html
The main purpose of this patchset is the same, just including some changes below. * Add arithmetic overflow check * Add negative value check of first dimension level * Change function name of the validator and name of local variable so that the aim is clear.
Takashi Sakamoto (3): ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members ALSA: control: add dimension validator for userspace element ALSA: control: add dimension validator for kernel driver
sound/core/control.c | 87 +++++++++++++++++++++++++++++++++-------- sound/pci/echoaudio/echoaudio.c | 6 +-- 2 files changed, 74 insertions(+), 19 deletions(-)