• Eli Zaretskii's avatar
    Avoid crashes with very wide TTY frames on MS-Windows · 9a1329e9
    Eli Zaretskii authored
    * src/w32console.c <glyph_base>: Reduce the number of elements
    to 80.
    <glyphs, glyphs_len>: New static variables.
    (w32con_clear_end_of_line): If the line is wider than the
    current size of the "empty row" in 'glyphs', reallocate
    'glyphs' to support the full width of the frame.  This
    avoids segfaults when the frame is wider than 256 columns.
    (Bug#32445)
    9a1329e9
w32console.c 24.1 KB