diff options
| author | Paul Eggert | 2011-08-28 16:55:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-08-28 16:55:41 -0700 |
| commit | 9250f758254937f43a621a2371e3433ce7daa573 (patch) | |
| tree | 8fe10179efc6a408c41c9452c9bddec3f3398a88 /src/process.c | |
| parent | 17107bb698f82bb5b9c8a732cd6b3faaad4d7af6 (diff) | |
| download | emacs-9250f758254937f43a621a2371e3433ce7daa573.tar.gz emacs-9250f758254937f43a621a2371e3433ce7daa573.zip | |
* etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
to avoid potential buffer overflow issues on typical 64-bit hosts.
(whatlen_max): New static var.
(main): Avoid buffer overflow if subsidiary command length is
greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
result might not fit in 'int'.
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions