2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-02 11:46:35 +00:00
qpdf/libqpdf
Jay Berkenbilt 9b28933647 Check object ownership when adding
When adding a QPDFObjectHandle to an array or dictionary, if possible,
check if the new object belongs to the same QPDF. This makes it much
easier to find incorrect code than waiting for the situation to be
detected when the file is written.
2021-11-04 12:29:42 -04:00
..
qpdf Fix timezone portability issue (fixes #515) 2021-04-17 18:12:55 -04:00
sph Fix integer type warnings for big-endian systems 2019-09-17 19:14:27 -04:00
AES_PDF_native.cc AES_PDF: move CBC logic from pipeline to AES_PDF implementation 2019-11-09 08:18:02 -05:00
bits.icc Fix sign and conversion warnings (major) 2019-06-21 13:17:21 -04:00
BitStream.cc Fix sign and conversion warnings (major) 2019-06-21 13:17:21 -04:00
BitWriter.cc Fix sign and conversion warnings (major) 2019-06-21 13:17:21 -04:00
Buffer.cc Convert remaining public classes to use Members pattern 2019-06-22 10:13:27 -04:00
BufferInputSource.cc Add range_check method to QIntC 2020-10-22 05:48:40 -04:00
build.mk Create ResourceFinder from NameWatcher in QPDFPageObjectHelper 2021-03-03 17:05:49 -05:00
ClosedFileInputSource.cc In shippable code, favor smart pointers (fixes #235) 2019-06-22 16:57:52 -04:00
ContentNormalizer.cc Simplify TokenFilter interface 2018-02-18 21:05:47 -05:00
CryptoRandomDataProvider.cc Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
FileInputSource.cc Revert removal of unreadCh change for performance 2020-10-27 11:57:48 -04:00
InputSource.cc Convert remaining public classes to use Members pattern 2019-06-22 10:13:27 -04:00
InsecureRandomDataProvider.cc Remove QUtil::srandom 2020-04-06 09:49:02 -04:00
JSON.cc Fix unnecessary copies in auto iter (fixes #426) 2020-04-08 20:45:26 -04:00
Makefile update release date to actual date 2008-04-29 12:55:25 +00:00
MD5_native.cc MD5: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
MD5.cc MD5: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
NNTree.cc Fix loop detection in NNTree 2021-04-05 07:59:02 -04:00
OffsetInputSource.cc Protect numeric conversion against user's locale (fixes #459) 2020-10-21 16:42:51 -04:00
Pipeline.cc Performance: remove Members indirection for Pipeline 2020-04-03 12:17:57 -04:00
Pl_AES_PDF.cc libqpdf/Pl_AES_PDF.cc: remove duplicated if branch 2021-04-29 09:42:38 -04:00
Pl_ASCII85Decoder.cc Fix some pipelines to be safe if downstream write fails (fuzz issue 28262) 2021-01-04 15:17:35 -05:00
Pl_ASCIIHexDecoder.cc Fix some pipelines to be safe if downstream write fails (fuzz issue 28262) 2021-01-04 15:17:35 -05:00
Pl_Buffer.cc Convert remaining public classes to use Members pattern 2019-06-22 10:13:27 -04:00
Pl_Concatenate.cc Convert remaining public classes to use Members pattern 2019-06-22 10:13:27 -04:00
Pl_Count.cc Fix some pipelines to be safe if downstream write fails (fuzz issue 28262) 2021-01-04 15:17:35 -05:00
Pl_DCT.cc Handle jpeg library fuzz false positives 2020-10-22 06:31:52 -04:00
Pl_Discard.cc Convert remaining public classes to use Members pattern 2019-06-22 10:13:27 -04:00
Pl_Flate.cc Detect recoverable but invalid zlib data streams (fixes #562) 2021-11-03 09:43:17 -04:00
Pl_LZWDecoder.cc Fix fuzz issue 15475 2019-08-25 22:52:25 -04:00
Pl_MD5.cc Implement deterministic ID 2015-10-31 18:56:42 -04:00
Pl_PNGFilter.cc In shippable code, favor smart pointers (fixes #235) 2019-06-22 16:57:52 -04:00
Pl_QPDFTokenizer.cc Exclude space after ID in image data 2019-01-31 10:38:10 -05:00
Pl_RC4.cc In shippable code, favor smart pointers (fixes #235) 2019-06-22 16:57:52 -04:00
Pl_RunLength.cc Convert remaining public classes to use Members pattern 2019-06-22 10:13:27 -04:00
Pl_SHA2.cc SHA2: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
Pl_StdioFile.cc Convert remaining public classes to use Members pattern 2019-06-22 10:13:27 -04:00
Pl_TIFFPredictor.cc In shippable code, favor smart pointers (fixes #235) 2019-06-22 16:57:52 -04:00
QPDF_Array.cc Fix unnecessary copies in auto iter (fixes #426) 2020-04-08 20:45:26 -04:00
QPDF_Bool.cc Add QPDFObjectHandle::getJSON() 2018-12-21 18:34:56 -05:00
QPDF_Dictionary.cc Add QPDFObjectHandle::getJSON() 2018-12-21 18:34:56 -05:00
QPDF_encryption.cc Remove erroneous handling of /EFF for stream decryption 2021-02-06 17:08:41 -05:00
QPDF_InlineImage.cc Add QPDFObjectHandle::getJSON() 2018-12-21 18:34:56 -05:00
QPDF_Integer.cc Add QPDFObjectHandle::getJSON() 2018-12-21 18:34:56 -05:00
QPDF_linearization.cc Write linearization errors to stderr (fixes #438) 2020-04-29 17:33:34 -04:00
QPDF_Name.cc Handle invalid name tokens symmetrically for PDF < 1.2 (fixes #332) 2019-08-19 19:48:27 -04:00
QPDF_Null.cc Add QPDFObjectHandle::getJSON() 2018-12-21 18:34:56 -05:00
QPDF_Operator.cc Add QPDFObjectHandle::getJSON() 2018-12-21 18:34:56 -05:00
QPDF_optimization.cc Restructure optimize to allow skipping parameters of filtered streams 2020-12-28 12:58:19 -05:00
QPDF_pages.cc Make QPDF::findPage public (fixes #516) 2021-11-03 09:43:17 -04:00
QPDF_Real.cc QUtil::double_to_string: trim trailing zeroes with option to disable 2021-02-13 02:30:00 -05:00
QPDF_Reserved.cc Add QPDFObjectHandle::getJSON() 2018-12-21 18:34:56 -05:00
QPDF_Stream.cc Detect recoverable but invalid zlib data streams (fixes #562) 2021-11-03 09:43:17 -04:00
QPDF_String.cc QPDFObjectHandle::newUnicodeString to uses UTF-16 only when needed 2021-01-24 03:27:28 -05:00
qpdf-c.cc Provide qpdf write progress reporting from C API (fixes #487) 2020-12-20 14:43:24 -05:00
QPDF.cc Prepare 10.3.2 release 2021-05-08 10:41:14 -04:00
QPDFAcroFormDocumentHelper.cc Allow /DR to be direct in /AcroForm 2021-03-11 11:43:38 -05:00
QPDFAnnotationObjectHelper.cc Fix typos in coverage cases 2021-03-03 17:05:49 -05:00
QPDFCrypto_gnutls.cc Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
QPDFCrypto_native.cc Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
QPDFCrypto_openssl.cc Include detailed OpenSSL error messages 2020-10-16 19:58:11 -04:00
QPDFCryptoProvider.cc Fix unnecessary copies in auto iter (fixes #426) 2020-04-08 20:45:26 -04:00
QPDFEFStreamObjectHelper.cc Fix QPDFEFStreamObjectHelper::{get,set}Subtype 2021-09-10 10:02:24 -04:00
QPDFEmbeddedFileDocumentHelper.cc Implement helpers for file attachments 2021-02-10 06:57:37 -05:00
QPDFExc.cc mingw workaround for QPDFExc destructor 2019-01-19 10:14:07 -05:00
QPDFFileSpecObjectHelper.cc Implement helpers for file attachments 2021-02-10 06:57:37 -05:00
QPDFFormFieldObjectHelper.cc When resolving font from /DR, copy it into resources 2021-03-04 15:08:36 -05:00
QPDFMatrix.cc Add QPDFMatrix::operator== 2021-03-04 15:08:36 -05:00
QPDFNameTreeObjectHelper.cc Make newly created name/number trees indirect objects 2021-02-08 06:49:56 -05:00
QPDFNumberTreeObjectHelper.cc Make newly created name/number trees indirect objects 2021-02-08 06:49:56 -05:00
QPDFObject.cc Performance: remove indirection through Members for QPDFObject 2020-04-03 12:16:24 -04:00
QPDFObjectHandle.cc Check object ownership when adding 2021-11-04 12:29:42 -04:00
QPDFObjGen.cc Add QPDFObjGen::unparse 2021-02-21 16:21:52 -05:00
QPDFOutlineDocumentHelper.cc Fix loop in QPDFOutlineDocumentHelper (fuzz issue 30507) 2021-02-10 16:27:44 -05:00
QPDFOutlineObjectHelper.cc Change list to vector for outline helpers (fixes #297) 2019-07-03 20:08:47 -04:00
QPDFPageDocumentHelper.cc Fix behavior for finding /Q, /DA, and /DR for form fields 2021-03-03 17:05:19 -05:00
QPDFPageLabelDocumentHelper.cc Update to new name/number tree API 2021-02-10 15:46:20 -05:00
QPDFPageObjectHelper.cc Don't use handleWarning, which is being reverted 2021-03-04 15:59:45 -05:00
QPDFStreamFilter.cc Implement user-provided stream filters 2020-12-28 12:58:19 -05:00
QPDFSystemError.cc Fix error in QPDFSystemError.cc 2018-08-14 11:39:07 -04:00
QPDFTokenizer.cc Revert removal of unreadCh change for performance 2020-10-27 11:57:48 -04:00
QPDFWriter.cc Performance fix on preserveObjectStreams 2021-05-09 07:51:14 -04:00
QPDFXRefEntry.cc Fix sign and conversion warnings (major) 2019-06-21 13:17:21 -04:00
QTC.cc Call QUtil::safe_fopen in place of fopen 2013-03-05 13:35:46 -05:00
QUtil.cc Fix timezone portability issue (fixes #515) 2021-04-17 18:12:55 -04:00
RC4_native.cc RC4: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
RC4.cc RC4: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
ResourceFinder.cc Don't use handleWarning, which is being reverted 2021-03-04 15:59:45 -05:00
rijndael.cc Fix sign and conversion warnings (major) 2019-06-21 13:17:21 -04:00
SecureRandomDataProvider.cc Minor clean up of Windows headers 2021-02-10 07:36:18 -05:00
SF_FlateLzwDecode.cc Implement user-provided stream filters 2020-12-28 12:58:19 -05:00
sha2.c Incorporate sha2 code from sphlib 3.0 2012-12-31 05:36:51 -05:00
sha2big.c Incorporate sha2 code from sphlib 3.0 2012-12-31 05:36:51 -05:00
SHA2_native.cc SHA2: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
SparseOHArray.cc Use more references when iterating 2020-04-10 13:30:33 -04:00