svn commit: r339716 - stable/9/sys/dev/sound/midi

2018-10-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 25 14:36:56 2018 New Revision: 339716 URL: https://svnweb.freebsd.org/changeset/base/339716 Log: MFC r339581: Fix off-by-one which can lead to panics. Found by: Peter Holm Sponsored by: Mellanox Technologies Modified: stable/9/sys/d

svn commit: r339722 - stable/9/sys/dev/sound/midi

2018-10-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 25 14:57:33 2018 New Revision: 339722 URL: https://svnweb.freebsd.org/changeset/base/339722 Log: 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: P