diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-02 21:27:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-02 21:27:21 +0000 |
commit | b830d0e9852404fb4dc5bf32267d12053476ce73 (patch) | |
tree | 1b1744e282329e850827d52d331f0d8a6cb1c01b /Build/source/texk | |
parent | 35f4a6396dbd7a9fa727e130f4ae0ba2fa20cbed (diff) |
off by one
git-svn-id: svn://tug.org/texlive/trunk@54013 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/xdvik/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/xdvik/main.c b/Build/source/texk/xdvik/main.c index 407c2af4eeb..87e92fd06c9 100644 --- a/Build/source/texk/xdvik/main.c +++ b/Build/source/texk/xdvik/main.c @@ -457,7 +457,7 @@ is_good_dvi_file(const char *filename, Boolean from_history) /* REALPATH failed, use real_filename */ size_t n = strlen(real_filename); if (n >= MAXPATHLEN) { - n = MAXPATHLEN; + n = MAXPATHLEN - 1; } memcpy(canonical_path, real_filename, n); |