• Stefan Monnier's avatar
    * src/ftcrfont.c (ftcrfont_open): Initialize the `max_width` field · c7804ac4
    Stefan Monnier authored
    On a 32bit build, Emacs can otherwise crash with a !FIXNUM_OVERFLOW_P
    assertion in `Ffont_info` by simply doing `emacs -Q` and then `C-s`.
    
    * src/font.c: Try and detect uninitialized `max_width` fields.
    (font_make_object): Set max_width to a silly value.
    (Ffont_info): Check the value is not silly any more.
    c7804ac4
ftcrfont.c 18.1 KB