diff options
| author | Paul Eggert | 2011-08-29 12:14:47 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-08-29 12:14:47 -0700 |
| commit | aca216ff01bab0741e718036a3c6d887994904c6 (patch) | |
| tree | 68a321d62dccfc5f6c8787ca176346c78c870266 /src/process.c | |
| parent | a66ff6d8b7f1ba4a8ef4d52f7d66b7804ba97091 (diff) | |
| download | emacs-aca216ff01bab0741e718036a3c6d887994904c6.tar.gz emacs-aca216ff01bab0741e718036a3c6d887994904c6.zip | |
* print.c (float_to_string): Detect width overflow more reliably.
(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'.
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions