-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hOCR PDF export: prevent users from overwriting any input image PDF file #243
Comments
With the latest QT5 master the following crash dump is put out: #0 0x00007fc85501192b in ppoll () from /lib/x86_64-linux-gnu/libc.so.6 Thread 11 (Thread 0x7fc817955700 (LWP 12280)): Thread 10 (Thread 0x7fc818156700 (LWP 12278)): Thread 9 (Thread 0x7fc82a251700 (LWP 12275)): Thread 8 (Thread 0x7fc818957700 (LWP 12272)): Thread 7 (Thread 0x7fc821483700 (LWP 12271)): Thread 6 (Thread 0x7fc829a50700 (LWP 12270)): Thread 5 (Thread 0x7fc831551700 (LWP 12268)): Thread 4 (Thread 0x7fc83217f700 (LWP 12267)): Thread 3 (Thread 0x7fc839410700 (LWP 12266)): Thread 2 (Thread 0x7fc847c47700 (LWP 12265)): Thread 1 (Thread 0x7fc859acb540 (LWP 12264)): |
This isn't really related to this ticket, please file a new issue (or you can also send it per PM). Please also describe what you were doing and whether it is reproducible. |
The crash report was the result when I tried what I described in the title: I tried to overwrite the original PDF = the input image with the PDF output of the hOCR. |
Ahhh, ok all good then sorry. I though you were testing the feature (which I haven't even implemented yet). |
Test update before implementation: Overwrote the second input PDF file. The newest Qt5 master from today does not crash, but complains about a defect PDF file, obviously when the export tries to access that file for input. |
It is probably pretty random whether it crashes or not, depends in which instant the file is being accessed. |
Implemented for Qt. |
Tested in Qt5 version: OK. |
Done also fro gtk. |
No description provided.
The text was updated successfully, but these errors were encountered: