| Summary: | can't FileOpen one particular pps file | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Ray <rayandlise> |
| Component: | Impress | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | serval2412 |
| Priority: | medium | ||
| Version: | 7.4.0.3 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | pps file that won't open because of version eror | ||
|
Description
Ray
2022-09-13 18:58:37 UTC
Created attachment 182423 [details]
pps file that won't open because of version eror
I tried to open the file and had the same result as you did. I also tried to open it in OnlyOffice and it did not open as well... but I got a message saying that the file is password protected. On pc Debian x86-64 with master sources updated today, I could reproduce this.
Here's part of the code which fails:
1448 ReadDffRecordHeader( rStCtrl, aDocAtomHd );
1449 if ( aDocHd.nRecType == PPT_PST_Document && aDocAtomHd.nRecType == PPT_PST_DocumentAtom )
1450 {
1451 aDocAtomHd.SeekToBegOfRecord( rStCtrl );
1452 ReadPptDocumentAtom( rStCtrl, aDocAtom );
1453 }
1454 else
1455 m_bOk = false;
(see https://opengrok.libreoffice.org/xref/core/filter/source/msfilter/svdfppt.cxx?r=8611f6e2#1448)
(gdb) p aDocHd.nRecType
$9 = 45597
(gdb) p aDocAtomHd.nRecType
$10 = 22945
|