Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2005 17:37:46 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/syscons scmouse.c scvesactl.c scvidctl.c syscons.c syscons.h
Message-ID:  <200509021737.j82HbkW4064602@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rodrigc     2005-09-02 17:37:46 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/dev/syscons      scmouse.c scvesactl.c scvidctl.c 
                         syscons.c syscons.h 
  Log:
  MFC:
  
    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>
  
  Revision   Changes    Path
  1.36.4.1   +1 -1      src/sys/dev/syscons/scmouse.c
  1.20.2.1   +2 -2      src/sys/dev/syscons/scvesactl.c
  1.32.2.1   +8 -6      src/sys/dev/syscons/scvidctl.c
  1.427.2.2  +2 -2      src/sys/dev/syscons/syscons.c
  1.80.2.1   +4 -3      src/sys/dev/syscons/syscons.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509021737.j82HbkW4064602>