Commit Graph

45 Commits (5383eeae49d18bf59de427d16ea3f12d61d8b899)

Author SHA1 Message Date
Micah Snyder 97a0647e88 Additional variable type changes for correctness and to silence warnings. A handful of other minor changes to silence warnings. Corrected a number of function definitions so they return cl_error_t rather than int. 6 years ago
Micah Snyder 72fd33c8b2 clang-format'd using new .clang-format rules. 6 years ago
Micah Snyder (micasnyd) 89d5207b31 Added new pdf object stream parsing capability. 7 years ago
Mickey Sola 992de2e2c0 bb12031 - 0.100.1 - resolving pdf parsing DoS; patch by aCaB 7 years ago
Micah Snyder 3690396877 bb11980 & bb12008 (again). Change to pdf_parse_string after evaluating function usage and the pdf format. 7 years ago
Micah Snyder 8dc0817ee9 bb12008: correction to object length check when parsing strings in pdf dictionaries. 7 years ago
Mickey Sola 99eadf7a9a 0.100.x - bb11980 - fixing length check exit condition for pdf string parsing 7 years ago
Mickey Sola 495fce9174 0.100.x - removing checklen constraint based on key string size when parsing pdf string objects 7 years ago
Mickey Sola 0df2fedf28 0.100.x - tightening up off-by-one error in pdf string parsing. 7 years ago
Mickey Sola 700ed96af5 [PATCH] 0.99.x - bb11980 - fixing oob read in pdf parsing 7 years ago
Mickey Sola 87aaa10b29 [PATCH] 0.100.x - bb11973 - fixing pdf oob read - suggested solution by Suleman Ali 7 years ago
Micah Snyder e09d884341 eliminated a large number of warnings, many of which had to do with mixing types. i switched some types to size_t and a couple to ptrdiff_t to make things more consistent, but there is a huge amount of work to be done to make types consistent. int, unsigned int, unsigned, off_t, and other types are ill-suited to storing buffer lengths or memory addresses. 8 years ago
Steven Morgan b2e3350bc2 bb11803 - Fix pdf out of bound reference. 8 years ago
Steven Morgan 22cb38ed24 pull request #53(2/4): Spelling fix by klemens(ka7). 9 years ago
Kevin Lin 1f2949190f pdf: fix octal code conversion resolution 10 years ago
Kevin Lin f4cbcd53a1 cid 12123 - fix error state in allocating memory in pdf finalize 10 years ago
Kevin Lin 76c9c9ddb5 cid 12135/12134 - fix error state for allocating memory in pdf parsing 10 years ago
Kevin Lin 218e1626ee bb#11372 - finalize encrypted hex strings correctly 10 years ago
Steven Morgan c00baa37c6 Beef up iconv_open error messages to show the source encoding and strerror. 10 years ago
Kevin Lin 9d33052fe7 pdf: correctly handle encryption objects to decrypt 10 years ago
Kevin Lin 3a925de01f fixed major issue in UTF conversion for pdf preclass 10 years ago
Kevin Lin ddc1421955 pdf: clang and general compiler fixes 10 years ago
Kevin Lin 7bbb67ea84 pdfng: fixed small memory leak 10 years ago
Kevin Lin 24db616f5b pdf: base64 encode strings that fail to finalize 10 years ago
Kevin Lin 00daf527e6 pdf: removed debugging messages 10 years ago
Kevin Lin d7effb639a pdf: decryption does not NULL terminate 10 years ago
Kevin Lin e2b1880fa6 pdf: string decryption and code clean-up 10 years ago
Kevin Lin ba1f4d0186 removed excessive debugging in escape conversion 10 years ago
Kevin Lin ab9611d4c1 fixed converity issue ID 12109 10 years ago
Kevin Lin e098bf4bd9 Revert "pdf strings are now base64 encoded if utf conversion fails" 10 years ago
Kevin Lin 0a185b8253 pdf string UTF-16 conversion no longer solely depends on ICONV 10 years ago
Kevin Lin 6c3cc09415 pdf strings are now base64 encoded if utf conversion fails 10 years ago
Kevin Lin 571d834910 bb#11238 - added missing PDF preclass operations 11 years ago
Shawn Webb cc071bf147 Fix Windows compilation 11 years ago
Shawn Webb 48ae47687f Force null termination 11 years ago
Shawn Webb b8d65b72ca Check to see if the string we just read in via indirect reference is likely UTF prior to attempting to convert from UTF 11 years ago
Shawn Webb cd94be7a52 Silence a bunch of compiler warnings in libclamav 11 years ago
Shawn Webb b1351d6bee Add support for hex-encoded keys in dictionaries 11 years ago
Shawn Webb 02a2258205 Implement bug fixes after peer code review 11 years ago
Shawn Webb 148f324303 Make the new PDF string parser more efficient 11 years ago
Shawn Webb 438eb31381 Plug a few potential memory leaks 11 years ago
Shawn Webb c7fd0220d0 Add more properties to the PDF preclass logic 11 years ago
Shawn Webb 4c597c6ff2 Fix buildbot 11 years ago
Shawn Webb 125067829b Add the new pdfng.c file 11 years ago
Shawn Webb 60d8d2c352 Move all the crypto API to clamav.h 11 years ago