From: Dan Carpenter Date: Wed, 11 Feb 2015 15:10:54 +0000 (+0300) Subject: ALSA: seq: potential out of bounds in do_control() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~19^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b444af8daf9cd28264aa3c85587c0c8601208ba;p=pandora-kernel.git ALSA: seq: potential out of bounds in do_control() Smatch complains that "control" is user specifigy and needs to be capped. The call tree to understand this warning is quite long. snd_seq_write() <-- get the event from the user snd_seq_client_enqueue_event() snd_seq_deliver_event() deliver_to_subscribers() snd_seq_deliver_single_event() snd_opl3_oss_event_input() snd_midi_process_event() do_control() Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed