1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00
pdf.js/src/core
Jonas Jenwald f4a95de694 Attempt to find the next valid marker when encountering invalid image data in JpegImage.parse (issue 9425)
In the JPEG images in the referenced PDF file, the DHT (Define Huffman Tables) segments contain more data than expected based on the length parameter.

Fixes 9425.
2018-02-03 16:01:19 +01:00
..
annotation.js Button widget annotations: implement support for pushbuttons 2017-11-26 14:09:48 +01:00
arithmetic_decoder.js Fix inconsistent spacing and trailing commas in objects in src/core/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 11:20:19 +02:00
bidi.js Fix inconsistent spacing and trailing commas in objects in src/core/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 11:20:19 +02:00
ccitt.js Extract the actual decoding in CCITTFaxStream into a new CCITTFaxDecoder "class", which the new CCITTFaxStream depends on 2017-10-24 16:03:08 +02:00
ccitt_stream.js Extract the actual decoding in CCITTFaxStream into a new CCITTFaxDecoder "class", which the new CCITTFaxStream depends on 2017-10-24 16:03:08 +02:00
cff_parser.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
charsets.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
chunked_stream.js Replace the isInt helper function with the native Number.isInteger function 2017-09-01 16:52:50 +02:00
cmap.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
colorspace.js Attempt to actually resolve ColourSpace names in accordance with the specification (issue 9285) 2018-01-10 20:20:43 +01:00
crypto.js Rearrange a few declarations so that they precede their uses. 2017-11-03 10:14:32 +00:00
document.js Moves OperatorList and QueueOptimizer into separate file. 2017-10-30 13:29:58 -05:00
encodings.js Implement unit tests for the encodings and fix missing items 2017-12-24 18:14:40 +01:00
evaluator.js Attempt to actually resolve ColourSpace names in accordance with the specification (issue 9285) 2018-01-10 20:20:43 +01:00
font_renderer.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
fonts.js Add support for TrueType Collection fonts (issue 9262) 2018-01-08 22:31:08 +01:00
function.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
glyphlist.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
image.js Attempt to actually resolve ColourSpace names in accordance with the specification (issue 9285) 2018-01-10 20:20:43 +01:00
jbig2.js Implement Huffman coding in JBIG2 2018-01-23 17:04:07 +02:00
jbig2_stream.js Fix the interface of JpegStream/JpxStream/Jbig2Stream to agree with the other DecodeStreams 2017-11-11 11:22:16 +01:00
jpeg_stream.js Attempt to remove the special JpegStream.getBytes method and utilize the regular DecodeStream one instead 2017-12-10 13:31:08 +01:00
jpg.js Attempt to find the next valid marker when encountering invalid image data in JpegImage.parse (issue 9425) 2018-02-03 16:01:19 +01:00
jpx.js Correctly extract component data from "Image and tile size" (SIZ) markers in JPEG 2000 images 2018-01-03 16:26:28 +01:00
jpx_stream.js Fix the interface of JpegStream/JpxStream/Jbig2Stream to agree with the other DecodeStreams 2017-11-11 11:22:16 +01:00
metrics.js Convert the files in the /src/core folder to ES6 modules 2017-05-30 22:06:21 +02:00
murmurhash3.js [api-major] Remove the TypedArray polyfills 2017-11-01 10:31:28 +01:00
obj.js Handle PDF files with missing 'endobj' operators, by searching for the "obj" string rather than "endobj" in XRef.indexObjects (issue 9105) 2017-12-18 13:17:45 +01:00
operator_list.js For backwards compatibility: use addOp amount instead of queue size. 2017-11-09 18:46:48 -06:00
parser.js Move JpegStream and JpxStream to their own files 2017-11-11 11:22:16 +01:00
pattern.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
pdf_manager.js Replaced occurence of throw new Error with unreachable where applicable 2017-12-14 12:58:50 +05:30
primitives.js Replace the isArray helper function with the native Array.isArray function 2017-09-01 20:27:13 +02:00
ps_parser.js Removes error() 2017-07-07 09:40:24 -05:00
standard_fonts.js Add a fallback for non-embedded LucidaSans-Demi fonts (issue 9291) 2017-12-24 17:36:58 +01:00
stream.js Move JpegStream and JpxStream to their own files 2017-11-11 11:22:16 +01:00
type1_parser.js Remove a few useless assignments. 2017-11-03 11:36:48 +00:00
unicode.js For non-embedded fonts, map softhyphen (0x00AD) to regular hyphen (0x002D) (issue 9084) 2017-10-31 13:26:04 +01:00
worker.js Address the final round of review comments for Content-Disposition filename extraction 2018-01-18 17:39:22 +01:00