4.11.0
Changes (Release 4.11.0)
Summary (pypdfium2)
- In
PdfDocument.render()
, fixed a badbitmap.close()
call that would lead to a downstream use after free when using the combination of foreign bitmap and no-copy conversion. Using foreign bitmaps was not the default and expressly not recommended.
pypdfium2 commit log
Commits between 4.10.0
and 4.11.0
(latest commit first):
f927f7c
[autorelease] update changelog and version file1228d4e
Update readme065bd1f
RenameTODO(v5)
toTODO(apibreak)
0cfe906
Do NOT call bitmap.close() in renderer worker (see description!)e8ab921
Minor code comment fixes47161c6
rebuild bindings/raw.py5968b24
Update reuse/dep52c516db
ctypesgen: conditionally pass--no-srcinfo
(fixes #215)
PDFium commit log
Commits between 5758
and 5772
(latest commit first):
78a55892d
Use some spans in CFX_CTTGSUBTable948a8b484
Avoid using FT_Bytes in CFX_CTTGSUBTabled204feb0b
Fix nits in CFX_CTTGSUBTable59870bf72
Remove struct CFX_CTTGSUBTable::TCoverageFormat*40485aacb
Combine struct CFX_CTTGSUBTable::TSubTable*15c1b6743
Fix pdfium::span<> tests under BRP's asan_use_unowned_ptr=trued699e177c
Remove struct CFX_CTTGSUBTable::TDevicefb2f71da3
Remove redundant calls to GetScriptContext()4e730a7d0
Prove some calls in XFA to GetScriptContext() are redundant80b01ad64
Clean up struct CFX_CTTGSUBTable::TFeatureRecord and TLookup8fd980a39
Remove struct CFX_CTTGSUBTable::TScriptRecorde60fa0d7d
Remove struct CFX_CTTGSUBTable::TLangSysRecord7b49936bc
Stop storingCFX_Font::m_pSubData
3f1624a82
Improve error handling in CPDF_CIDFont::GetGlyphIndex()a9ff918a8
Observe widget across SetOptionSelection() calls.3eb3c4d77
Always check return code from CPWL_ComboBox::SetPopup().0fa0c4f3e
Save dash array and phase of GraphState in CPDF_PageContentGenerator4c16842f6
Roll Skia and update SkSurface calls09126b95a
Enable raw_ptr usage enforcement for PDFium.dc12ace76
Add UNOWNED_PTR_EXCLUSION to mac-specific CFX_AggDeviceDriver member.e37bff1a0
Use "Chrome Symbol" font on all platforms aside from Windows2ccdc331a
Fix mac build under raw_ptr plugin92a5bc33e
Fix a CHECK() failure in ObjectTreeTraverser::GetReferenceEntries()1918c8da8
Fix Skia build under pdf_enable_unowned_ptr_exclusion1ce0f0424
Unblock roll of PDFium into chromiumeaa68be67
Resolve remaining unowned_ptr exculsion warnings [android, win].e6895bd32
Resolve remaining unowned ptr exclusion warnings.d6bc7c46a
Fix some unowned ptr exclusions in core/fxcrt/{xml,css}530d0170f
Suppress unowned ptr exclusions in embeddertests431f9a92e
Support iterating over WideString by code pointef937a25a
Exclude public files and test files from raw ptr checksa8e77a12d
Fix unowned ptr exclusions in core/fpdfapi578fe5b2a
Fix common unowned ptr exclusions in core/fxcrtbe511372f
Introduce raw ptr exclusion enforcement to PDFium.7ef2ee356
Teach googletest about C-string to ByteString comparisons401a247da
Remove CPDF_Image::GetDocument() nullptr checksd77c93540
Support encoding unpaired surrogates