]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r339582:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Oct 2018 15:02:06 +0000 (15:02 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Oct 2018 15:02:06 +0000 (15:02 +0000)
commit82ba05370ed2dcd29c31394d2d83c207b3471899
treeca99bf38fccc895464aa02876a0fa92cbd46efa7
parentd58fbf4e1c8a35cd7dbac2ce00b54c9eef3d333e
MFC r339582:
Drop sequencer mutex around uiomove() and make sure we don't move more bytes
than is available, else a panic might happen.

Found by: Peter Holm <peter@holm.cc>
Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/8@339723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/midi/sequencer.c