aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-08-28 16:55:41 -0700
committerPaul Eggert2011-08-28 16:55:41 -0700
commit9250f758254937f43a621a2371e3433ce7daa573 (patch)
tree8fe10179efc6a408c41c9452c9bddec3f3398a88 /lib-src/ChangeLog
parent17107bb698f82bb5b9c8a732cd6b3faaad4d7af6 (diff)
downloademacs-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 'lib-src/ChangeLog')
-rw-r--r--lib-src/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index d056b1a4b81..8d46a37ce51 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -19,6 +19,13 @@
19 result might not fit in 'int'. 19 result might not fit in 'int'.
20 (set_local_socket): Do not assume uid fits in 'int'. 20 (set_local_socket): Do not assume uid fits in 'int'.
21 21
22 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
23 to avoid potential buffer overflow issues on typical 64-bit hosts.
24 (whatlen_max): New static var.
25 (main): Avoid buffer overflow if subsidiary command length is
26 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
27 result might not fit in 'int'.
28
222011-07-28 Paul Eggert <eggert@cs.ucla.edu> 292011-07-28 Paul Eggert <eggert@cs.ucla.edu>
23 30
24 Assume freestanding C89 headers, string.h, stdlib.h. 31 Assume freestanding C89 headers, string.h, stdlib.h.