#291 closed defect (fixed)
Crash when copying from font info box
Reported by: | Lewis Rosenthal | Owned by: | Gregg Young |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Lucide Core | Version: | 1.3.6 |
Keywords: | Cc: | Steven Levine |
Description
Copy via Ctrl+Ins one or multiple lines causes access violation in lucide1.dll.
Can reproduce with a variety of PDF documents. TRP file attached.
cc'ing Steve because, well, I know he enjoys these things.
Attachments (1)
Change History (7)
by , 8 years ago
Attachment: | 0088_01.TRP added |
---|
comment:1 by , 8 years ago
comment:2 by , 8 years ago
I just found a PDF which does not crash (Ctrl+C or Ctrl+Ins) when copying. Might this have something to do with the length of the font name and what we are passing to Uclip?
FWIW, I am using:
uclip-0.3.0-1.oc00.pentium4
comment:3 by , 8 years ago
I figured out what was happening sometimes subname is NULL and in that case when it was added to the string it trapped. Now fixed.
comment:4 by , 8 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:6 by , 8 years ago
Summary: | Crash when copying from font into box → Crash when copying from font info box |
---|
Copied font info from document which does not crash:
Helvetica | Type 1 | Not embedded | Helvetica Symbol | Type 1 | Not embedded | Symbol Helvetica-Bold | Type 1 | Not embedded | Helvetica Bold Times-Bold | Type 1 | Not embedded | Times New Roman Negreta Times-Roman | Type 1 | Not embedded | Times New Roman Arial-BoldMT | Type 1 | Not embedded | Arial Negreta TimesNewRomanPSMT | Type 1 | Not embedded | DejaVu Sans
Fonts in document which crash:
LiberationSerif-Bold | TrueType | Embedded subset LiberationSerif | TrueType | Embedded subset
This would prove your point (no subname).
Thanks.
Ctr+C does it to. Not all pdfs show the trap. It could be related to the addition of substitute fonts in the dialog but I looked at all the code I added and don't see an obvious mistake.