]> git.alsa-project.org Git - alsa-lib.git/commit
Fix segfault with dmix of 3-bytes formats
authorJosh Green <josh@resonance.org>
Sat, 7 Jun 2008 08:10:49 +0000 (10:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 7 Jun 2008 08:10:49 +0000 (10:10 +0200)
commit2076b88a77d2b3ce627b622a5e5dd0f995f0da70
tree87134908ed34e5424aaf2eea5c9e48547c60acaf
parent1467f4e238c7accd15ad57e7438ea5cbdc7ac86c
Fix segfault with dmix of 3-bytes formats

The i386 and x86-64 dmix may cause segfaults when 3-bytes formats are used
due to btsl asm code, which may overcome the buffer end-boundary.
The patch changes btsl to btsw so that it doesn't happen.

ALSA bug#3341:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3341

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_dmix_i386.h
src/pcm/pcm_dmix_x86_64.h