bug in ebook-viewer: the file is modified
I found a very serious bug in the ebook-viewer utility --- after running it on an epub the file is modified --- even the file size changes. Obviously, this should NOT happen because a viewer is not supposed to change anything inside the file.
Interestingly, it only happens if the file's permissions allow write. I.e. if I run "chmod 0400 file.epub" before executing "ebook-viewer file.epub" then the file is not modified.
The version of calibre I am using is 2.18 on Linux x86_64 architecture.
Please confirm that this can only happen with ebook-viewer, but not ebook-meta. I can simply remove ebook-viewer from my system as unsafe, but ebook-meta is a mission-critical utility as I am relying on it for metadata extraction for most formats (for some formats I wrote a better metadata and cover extractor myself, e.g. for djvu and fb2)
|