cvs commit: src/sys/dev/syscons scmouse.c scvesactl.c
scvidctl.c syscons.c syscons.h
Slawa Olhovchenkov
slw at zxy.spb.ru
Mon Sep 5 06:04:30 PDT 2005
On Tue, Aug 30, 2005 at 06:58:17PM +0000, Craig Rodrigues wrote:
> rodrigc 2005-08-30 18:58:17 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/dev/syscons scmouse.c scvesactl.c scvidctl.c
> syscons.c syscons.h
> Log:
> Prevent division by zero errors in sc_mouse_move()
> by explicitly setting sc->font_width, in the same
> places where sc->font_size is set, instead of
> relying on the default initialized value of 0 for sc->font_width.
>
> PR: kern/84836
> Reported by: Andrey V. Elsukov <bu7cher at yandex dot ru>
> MFC after: 2 days
Now traped set_mouse_pos+0x108: idivl 0x6c(%ecx),%eax
eax = edx = -1
ecx = main_console
More information about the cvs-src
mailing list