• Paul Eggert's avatar
    * xfns.c: Integer and memory overflow fixes. · c678c835
    Paul Eggert authored
    (x_encode_text, x_set_name_internal, Fx_change_window_property):
    Use ptrdiff_t, not int, to count sizes, since they can exceed
    INT_MAX in size.  Check for size calculation overflow.
    c678c835
xfns.c 177 KB