CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/06/25 10:45:01

Modified files:
        usr.sbin/vmd   : mc146818.c 

Log message:
vmd(8): reject invalid PIT periods causing UB.

A guest can write values to Register A that results in a negative
shift exponent when computing the resulting timer rate. Detect and
ignore values to prevent UB from negative shift.

Reported by Frank Denis.

Discussed with and "go for it" from mlarkin@

Reply via email to