Commit Graph

387 Commits

Author SHA1 Message Date
Michael R Sweet
c7101ae9dd
Add CodeQL scanning. 2022-12-09 11:09:34 -05:00
Michael R Sweet
599640eda1
Update makefile to be silent with basic progress reporting. 2022-08-02 09:41:13 -04:00
Michael R Sweet
a3f3bbfe11
Fix pdfioFileGetAuthor, etc. APIs (Issue #33) 2022-07-12 18:36:08 -04:00
Michael R Sweet
26d485cfc5
Update Windows DLL exports file. 2022-07-06 15:25:45 -04:00
Michael R Sweet
64d306a322
Cleanup. 2022-07-06 08:47:52 -04:00
Michael R Sweet
067683cbcd
Add some protection against opening multiple streams in the same file at the same time. 2022-07-04 13:03:11 -04:00
Michael R Sweet
50f27974cf
Update documentation. 2022-07-03 10:01:20 -04:00
Michael R Sweet
ae9a91719b
Add pdfioContentPathEnd function. 2022-07-03 10:01:10 -04:00
Michael R Sweet
1a17933635
Fix pdfioContentMatrixRotate function. 2022-07-01 20:30:40 -04:00
Michael R Sweet
acea6fdbed
Changelog. 2022-06-27 17:17:44 -04:00
Michael R Sweet
66fa12f928
Update Windows DLL exports file. 2022-06-27 10:17:21 -04:00
Michael R Sweet
f4b8983c61
Implement pdfioDictIterateKeys API (Issue #31) 2022-06-27 10:17:00 -04:00
Michael R Sweet
ed4e2fc38a
Merge pull request #32 from ire4ever1190/patch-1
Fix `install-shared` Make task
2022-06-09 09:46:23 -04:00
Jake Leahy
1ed7f0089c
Update Makefile 2022-06-09 14:33:53 +10:00
Michael R Sweet
563d53edd4
Update Windows DLL exports file. 2022-05-24 19:16:20 -04:00
Michael R Sweet
316b0ad559
Add pdfioFileCreateTemporary function (Issue #29) 2022-05-15 22:52:53 -04:00
Michael R Sweet
f8b471acfd
Update README and NOTICE files... 2022-03-02 09:50:14 -05:00
Michael R Sweet
cedd7d104f
Changelog update. 2022-03-02 09:47:14 -05:00
Michael R Sweet
6378047026
Update VC project. 2022-03-02 09:31:33 -05:00
Michael R Sweet
54578144a0
Update documentation and prep for 1.0.1 release. 2022-03-02 09:30:01 -05:00
Michael R Sweet
f7f2969e3a
Fix pdfioStreamGetToken implementation (wasn't flushing input), update
pdfiototext code to better handle different text operators that affect the
location of the text.
2022-03-01 09:18:56 -05:00
Michael R Sweet
93a3fcea6c
Add missing pdfioPageGetNumStreams and pdfioPageOpenStream functions.
Add initial version of pdfiototext text extraction utility.
2022-02-28 15:00:25 -05:00
Michael R Sweet
fa20982e5d
Coverity certs are fixed. 2021-12-15 18:20:54 -05:00
Michael R Sweet
44d20eba1b
Add stub code for AES-256 to force Coverity to re-analyze... 2021-12-15 07:35:55 -05:00
Michael R Sweet
c0b7925cdf
Fix typo. 2021-12-15 07:28:17 -05:00
Michael R Sweet
68dcf021b2
Download Entrust root cert for validation. 2021-12-15 07:25:44 -05:00
Michael R Sweet
b0a8e60968
Also allow posts to coverity.com while we wait for Ubuntu to pick up the new Entrust root certificate. 2021-12-15 07:10:13 -05:00
Michael R Sweet
9d47745e43
Prep for 1.0rc1. 2021-12-15 06:53:09 -05:00
Michael R Sweet
b0bf2e04b9
Coverity's certificate has expired. 2021-12-14 16:26:57 -05:00
Michael R Sweet
f030112372
See what is happening when downloading Coverity build tool (drop quiet option). 2021-12-14 16:21:49 -05:00
Michael R Sweet
79c4b6f8a8
See what is happening when downloading Coverity build tool. 2021-12-14 16:20:34 -05:00
Michael R Sweet
bd2f9d44d4
Prep for 1.0.0 release. 2021-12-14 12:36:33 -05:00
Michael R Sweet
3c7a980a0b
Don't include AFL files in source archives. 2021-11-30 08:46:43 -05:00
Michael R Sweet
019c05d04a Fix AFL target, remove excess PDF test files. 2021-11-30 08:13:41 -05:00
Michael R Sweet
7ab550254a
Add AFL make target (runs for 10 minutes). 2021-11-29 20:59:30 -05:00
Michael R Sweet
fa8e54cca2
Add some files to use for AFL++. 2021-11-29 18:54:40 -05:00
Michael R Sweet
d92fcb7bfb Add AFL++ PDF dictionary. 2021-11-29 18:47:04 -05:00
Michael R Sweet
001dcbb123
Fix testpdfio build - dependencies on pdfio-private.h were missing. 2021-11-29 17:57:49 -05:00
Michael R Sweet
a431d7806f
Fix a few stack/buffer overflow bugs discovered by Bart, Steffan, and Mark from
the Radboud University NL (thanks!)

- Add depth argument to all value read functions that recurse
- Add depth argument to page tree loading code
- Validate xref stream sizes individually to avoid out-of-bounds access to local
  xref buffer.
2021-11-29 17:46:56 -05:00
Michael R Sweet
ec8e900ea5
Add math library to libs. 2021-11-18 19:23:42 -05:00
Michael R Sweet
c73aa7ae20
Add link for builds. 2021-11-11 06:52:23 -05:00
Michael R Sweet
c53786e0e1
Changelog. 2021-11-07 11:29:18 -05:00
Michael R Sweet
1d5310a5f3
Bump version to 1.0b2. 2021-11-07 11:15:35 -05:00
Michael R Sweet
1e33878506
Fix conversion of nul-containing strings to binary.
Move key length checks to a common place.
2021-11-02 09:12:43 -04:00
Michael R Sweet
af07f64bc3
Fix 'make test'. 2021-11-02 07:50:14 -04:00
Michael R Sweet
2f0d622873
Save work on resolving PDF loading issues with random PDFs using different encryption methods and line endings. 2021-11-01 21:30:46 -04:00
Michael R Sweet
6432187dea
Fix sporadic test suite failures caused by greedy whitespace removal in token
reader.

Update read code to handle signal/temporary failures.

Add some more useful debug messages for the encryption code.

Eliminate more warnings from Clang.
2021-10-31 11:12:54 -04:00
Michael R Sweet
9d121335f5
Make sure we free memory used for binary data. 2021-10-31 08:30:08 -04:00
Michael R Sweet
9014ab7a20
Fix some minor Coverity-reported issues (added a check to suppress a warning,
removed an unnecessary check, and removed some dead code)
2021-10-31 07:04:17 -04:00
Michael R Sweet
b3ca129a58
Bump NuGet versions. 2021-10-29 07:42:24 -04:00