summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-10-09 10:30:40 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-10-09 10:48:55 -0700
commit934f08f3de7929e54e9da3271a34bb49a8854f2c (patch)
tree99f898f4f6242d35d697749957ca41e813054ca7 /lisp/emacs-lisp
parent6c2b1e89efe90e1b55bc0f0296e68efa52dbcbc1 (diff)
downloademacs-934f08f3de7929e54e9da3271a34bb49a8854f2c.tar.gz
emacs-934f08f3de7929e54e9da3271a34bb49a8854f2c.tar.bz2
emacs-934f08f3de7929e54e9da3271a34bb49a8854f2c.zip
Fix unlikely overflows with wd length
* src/sysdep.c (get_current_dir_name_or_unreachable): Avoid integer overflow if working directory name is absurdly long. When allocating memory for getcwd, do not exceed MAXPATHLEN.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions