[PATCH 6.12 353/354] ALSA: dice: fix buffer overflow in detect_stream_formats()