⬢ DragonFlyBSD Kernel Audit
DF-4224 / run.2.log
← back to finding ↓ download raw
##### ./harness 1 -2147483648 640 480
parse simulation: strtol("2147483648")=2147483648 -> u32 0x80000000 -> int cmd->refresh=-2147483648
case=1 vrefresh=-2147483648 hdisp=640 vdisp=480
CVT non-RB: expect SIGFPE at drm_modes.c:243
[marker] CVT non-RB: drm_modes.c:243  hperiod = tmp1 * 2 / (tmp2 * vfieldrate)
exit=136
Floating point exception (core dumped)
##### ./harness 2 -2147483648 640 480
parse simulation: strtol("2147483648")=2147483648 -> u32 0x80000000 -> int cmd->refresh=-2147483648
case=2 vrefresh=-2147483648 hdisp=640 vdisp=480
CVT-RB: expect SIGFPE at drm_modes.c:302
[marker] CVT RB: drm_modes.c:302  hperiod = tmp1 / (tmp2 * vfieldrate)
Floating point exception (core dumped)
exit=136
##### ./harness 3 -2147483648 640 479
parse simulation: strtol("2147483648")=2147483648 -> u32 0x80000000 -> int cmd->refresh=-2147483648
case=3 vrefresh=-2147483648 hdisp=640 vdisp=479
GTF: expect SIGFPE at drm_modes.c:459
[marker] GTF: drm_modes.c:459  hperiod = 1000000 / (vfieldrate_rqd * vtotal_lines)
[marker] GTF: drm_modes.c:480-481  ideal_duty_cycle = ... GTF_M_PRIME * 1000000 / hfreq_est
exit=136
Floating point exception (core dumped)
##### ./harness 4 134217728 640 601
parse simulation: strtol("2147483648")=2147483648 -> u32 0x80000000 -> int cmd->refresh=-2147483648
case=4 vrefresh=134217728 hdisp=640 vdisp=601
GTF: expect SIGFPE at drm_modes.c:481
[marker] GTF: drm_modes.c:459  hperiod = 1000000 / (vfieldrate_rqd * vtotal_lines)
[marker] GTF: drm_modes.c:480-481  ideal_duty_cycle = ... GTF_M_PRIME * 1000000 / hfreq_est
exit=136
Floating point exception (core dumped)
##### ./harness 5 0 65536 65536
parse simulation: strtol("2147483648")=2147483648 -> u32 0x80000000 -> int cmd->refresh=-2147483648
case=5 vrefresh=0 hdisp=65536 vdisp=65536
umode validate_basic status=0 (0=MODE_OK)
vrefresh (htotal=65536 vtotal=65536): expect SIGFPE at drm_modes.c:796
[marker] VREFRESH: drm_modes.c:796  DIV_ROUND_CLOSEST(num, den)
exit=136
Floating point exception (core dumped)