summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-28 18:16:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-28 18:16:54 -0700
commitfe6442b1151a0f4021181e968479459f50df63f1 (patch)
tree5c009bab54a101bf8ea6fa1845e53a73e23a6f4e /src/ChangeLog
parent5f2ab479cdd2e76862e80e37b9c0825471af8d4c (diff)
downloademacs-fe6442b1151a0f4021181e968479459f50df63f1.tar.gz
* sysdep.c: Integer and memory overflow issues.
(system_process_attributes): Use ptrdiff_t, not int, for command line length. Do not attempt to address one before the beginning of an array, as that's not portable.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7570b0ba979..d1db5e48daf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
2011-07-29 Paul Eggert <eggert@cs.ucla.edu>
+ * sysdep.c: Integer and memory overflow issues.
+ (system_process_attributes): Use ptrdiff_t, not int, for command
+ line length. Do not attempt to address one before the beginning
+ of an array, as that's not portable.
+
* search.c: Integer and memory overflow fixes.
(Freplace_match): Check for size calculation overflow.
(Fset_match_data): Don't assume list lengths fit in 'int'.