* sysdep.c: Integer and memory overflow issues.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:16:54 +0000 (18:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:16:54 +0000 (18:16 -0700)
commitfe6442b1151a0f4021181e968479459f50df63f1
tree5c009bab54a101bf8ea6fa1845e53a73e23a6f4e
parent5f2ab479cdd2e76862e80e37b9c0825471af8d4c
* 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.
src/ChangeLog
src/sysdep.c