• Paul Eggert's avatar
    * print.c (float_to_string): Detect width overflow more reliably. · aca216ff
    Paul Eggert authored
    (print_object): Make sprintf buffer a bit bigger, to avoid potential
    buffer overrun.  Don't assume list length fits in 'int'.  Treat
    print length of 0 as 0, not as infinity; to be consistent with other
    uses of print length in this function.  Don't overflow print length
    index.  Don't assume hash table size fits in 'long', or that
    vectorlike size fits in 'unsigned long'.
    aca216ff
ChangeLog 291 KB