git: psm - Fix memory corruption and panic in psm driver
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jan 15 22:32:46 PST 2020
commit 906090f3b2c220f6b36a84bc5410801090f72b28
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Jan 15 22:25:18 2020 -0800
psm - Fix memory corruption and panic in psm driver
* Fix two locations where pb->inputbytes might not get reset to
0. The main problem appears to be in psmsoftintr() where
pb->inputbytes is not reset to 0 when mouse cases 'goto next',
do being before the next: label instead of after the label.
Reported-by: noob237
Summary of changes:
sys/dev/misc/psm/psm.c | 113 ++++++++++++++++++++++++++-----------------------
1 file changed, 61 insertions(+), 52 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/906090f3b2c220f6b36a84bc5410801090f72b28
--
DragonFly BSD source repository
More information about the Commits
mailing list