CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/12/29 23:55:11
Modified files:
sys/dev/wscons : wskbd.c wskbdutil.c wsksymvar.h
Log message:
Prevent a double free by assigning the new keymap and corresponding size
after the allocation and initialization is done. Otherwise, a race is
possible if malloc ends up sleeping.
ok sashan@
Reported-by: [email protected]
