[PATCH] Solaris xf86OSRingBell() off-by-one error in filling iov[] array

Adam Jackson ajax at nwnk.net
Mon Feb 15 13:57:33 PST 2010

On Mon, 2010-02-15 at 13:42 -0800, Alan Coopersmith wrote:
> 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 at sun.com>

Acked-by: Adam Jackson <ajax at redhat.com>

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-devel/attachments/20100215/cc518677/attachment.pgp 

More information about the xorg-devel mailing list