cvs commit: src/sys/dev/syscons scmouse.c scvesactl.c scvidctl.c syscons.c syscons.h

Craig Rodrigues rodrigc at FreeBSD.org
Tue Aug 30 18:58:18 GMT 2005


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
  
  Revision  Changes    Path
  1.38      +1 -1      src/sys/dev/syscons/scmouse.c
  1.23      +2 -2      src/sys/dev/syscons/scvesactl.c
  1.35      +8 -6      src/sys/dev/syscons/scvidctl.c
  1.438     +2 -2      src/sys/dev/syscons/syscons.c
  1.84      +4 -3      src/sys/dev/syscons/syscons.h


More information about the cvs-all mailing list