]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r339582:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Oct 2018 14:56:19 +0000 (14:56 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Oct 2018 14:56:19 +0000 (14:56 +0000)
commit8fb8a12a82ddede251c6bda5fcdd65b971073807
treeab297e3564581bcab145fdce96e52b48a2002359
parenteda9edc17eb67b0acaf4def6c7f94e63730b5160
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/10@339721 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/midi/sequencer.c