diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-12-12 12:56:31 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-12-12 13:04:35 +0100 |
commit | 88a781b38dc63c02b69c96ef34dc8d6e699de059 (patch) | |
tree | 7d2c263af77d05c47f6f6f65e8e281e79e07902b /platform/win32/libmupdf.vcproj | |
parent | f3820a6d9b9bfd76b4f6e7b8da40d73b2f17ac50 (diff) | |
download | mupdf-88a781b38dc63c02b69c96ef34dc8d6e699de059.tar.xz |
Ensure we don't clobber files in fz_new_output_with_path.
When saving a PDF to the same file name as the one that is open,
we risk clobbering it by truncating the source file. Remove the old
file first! Removing an open file will not work on windows,
but there we will throw an EACCESS error rather than clobber the file!
Diffstat (limited to 'platform/win32/libmupdf.vcproj')
0 files changed, 0 insertions, 0 deletions