Qiang Liu
60e543f5ce
hw/audio/sb16: Restrict I/O sampling rate range for command 41h/42h
...
The I/O sampling rate range is enforced to 5000 to 45000HZ according to
commit a2cd86a9. Setting I/O sampling rate with command 41h/42h, a guest
user can break this assumption and trigger an assertion in audio_calloc
via command 0xd4. This patch restricts the I/O sampling rate range for
command 41h/42h.
Fixes: 85571bc7415 ("audio merge (malc)")
Signed-off-by: Qiang Liu <cyruscyliu@gmail.com>
Message-Id: <1624502687-5214-1-git-send-email-cyruscyliu@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2021-06-24 11:42:54 +02:00
..
2021-06-02 06:51:09 +02:00
2021-06-15 10:55:03 -04:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-06-16 17:02:30 +01:00
2021-06-24 11:42:54 +02:00
2021-05-13 19:11:42 +02:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-06-15 20:27:38 +02:00
2021-04-09 16:05:16 -04:00
2021-05-02 17:24:51 +02:00
2021-06-15 07:16:56 +02:00
2021-06-02 06:51:09 +02:00
2021-06-05 21:10:42 +02:00
2021-06-02 06:51:09 +02:00
2020-12-18 15:20:17 -05:00
2021-06-02 06:51:09 +02:00
2021-06-17 14:11:06 -04:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-06-15 16:18:48 +01:00
2020-09-18 14:12:32 -04:00
2021-05-02 17:24:50 +02:00
2021-06-02 06:51:09 +02:00
2021-06-15 20:27:38 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:50 +02:00
2021-05-26 15:33:59 -07:00
2021-06-15 20:27:38 +02:00
2021-06-04 13:38:49 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:50 +02:00
2021-05-17 09:19:00 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-06-02 06:51:09 +02:00
2021-01-17 06:42:54 -05:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:50 +02:00
2021-06-03 18:10:31 +10:00
2021-06-02 06:51:09 +02:00
2021-05-21 15:43:57 +01:00
2021-06-08 09:59:42 +10:00
2021-06-02 06:51:09 +02:00
2021-05-03 10:07:41 +02:00
2021-06-21 08:48:21 +02:00
2021-06-15 17:17:09 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-05-14 10:26:18 -04:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-05-05 13:52:00 +01:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-05-18 09:36:21 +01:00
2021-06-14 13:28:50 +01:00
2021-06-21 08:48:21 +02:00
2021-06-11 10:30:13 +08:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2020-08-21 06:30:33 -04:00
2021-05-02 17:24:51 +02:00
2021-05-17 09:19:00 +02:00
2021-05-17 09:19:00 +02:00