Podofo ABI breakage in 0.9.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Arch is updating podofo to 0.9.6 which fixes a couple of important CVE issues. Sadly this release breaks their own ABI. I haven't found all ABI breakages yet but one issue is that the loading has changed of documents:
diff -aur podofo-
--- podofo-
+++ podofo-
@@ -61,7 +61,7 @@
string buffer(it, end);
doc = new PoDoFo:
- doc->Load( buffer.c_str(), (long)buffer.size() );
+ doc->LoadFromBu
}
else
{
I've used this patch to resolve the ABI breakage, but it would need some work to be backwards compatible.