diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-09 10:30:40 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-09 10:48:55 -0700 |
| commit | 934f08f3de7929e54e9da3271a34bb49a8854f2c (patch) | |
| tree | 99f898f4f6242d35d697749957ca41e813054ca7 /lisp/emacs-lisp | |
| parent | 6c2b1e89efe90e1b55bc0f0296e68efa52dbcbc1 (diff) | |
| download | emacs-934f08f3de7929e54e9da3271a34bb49a8854f2c.tar.gz | |
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
