ALSA: seq: potential out of bounds in do_control()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 11 Feb 2015 15:10:54 +0000 (18:10 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 Feb 2015 10:07:48 +0000 (11:07 +0100)
commit0b444af8daf9cd28264aa3c85587c0c8601208ba
tree01353e05006eb7871b530cc7928fb7f5eca8cdd5
parent25a0707cf6bc20677aa2e0b889d69f9dee8c1f14
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 <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_midi_emul.c
This page took 0.025326 seconds and 5 git commands to generate.