xserver-multidpi/hw/xfree86/os-support/solaris
Alan Coopersmith be96fb2f02 Solaris xf86OSRingBell() off-by-one error in filling iov[] array
When generating sound buffers for /dev/audio bells, insert waveform
for beep *or* silence, but not both, so we don't write one entry past
the end of the iov buffer when the final bit of soundwave ends up in
the final entry allocated in the iov array.

Fixes OpenSolaris bug 6894890:
 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6894890

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-02-17 23:15:34 -08:00
..
apSolaris.shar Updated Solaris aperture driver to build on sun4v & amd64 kernels 2006-06-29 16:25:36 -07:00
Makefile.am Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
solaris-amd64.S Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
solaris-ia32.S Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
solaris-sparcv8plus.S Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
sun_agp.c Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
sun_apm.c Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
sun_bell.c Solaris xf86OSRingBell() off-by-one error in filling iov[] array 2010-02-17 23:15:34 -08:00
sun_init.c Solaris: Avoid switching to inactive VT's 2010-01-25 11:09:28 -08:00
sun_inout.s DRI XFree86-4_3_99_12-merge import 2004-06-16 09:22:17 +00:00
sun_vid.c Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
sun_VTsw.c Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00