Fix bug #18516 with SIGSEGV in expand-file-name.
commitf11af8a48cfef05314e6e5d86e18861cffbde9f1
authorEli Zaretskii <eliz@gnu.org>
Mon, 22 Sep 2014 14:37:22 +0000 (22 17:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 22 Sep 2014 14:37:22 +0000 (22 17:37 +0300)
treec054f3ed5855b72d0330e8adf0f13cd208281a16
parent601a0cfe861eac8ed706a2bb3380c5788a1ef701
Fix bug #18516 with SIGSEGV in expand-file-name.

 src/fileio.c (Fexpand_file_name) [DOS_NT]: Make sure newdirlim is
 always set to a valid value.  Make sure the size passed to alloca
 is always positive.
src/ChangeLog
src/fileio.c