]> git.eshelyaron.com Git - emacs.git/commit
* filelock.c (lock_file_1, lock_file): Don't blindly alloca long name;
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 16:48:19 +0000 (09:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 16:48:19 +0000 (09:48 -0700)
commitb5cd19054673bfa46a4f0d1ac3905deeafcf94ff
tree07ab94434229efd114cdc57848cfc29c907cdcdd
parentd749b01b0c7daff6427373b787e56d06e6f4d223
* filelock.c (lock_file_1, lock_file): Don't blindly alloca long name;

use SAFE_ALLOCA instead.  Use esprintf to avoid int-overflow issues.
src/ChangeLog
src/filelock.c