A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SixLabors/ImageSharp/issues/827 below:

Image.Load throws AccessViolationException · Issue #827 · SixLabors/ImageSharp · GitHub

Prerequisites Description

Image.Load throws AccessViolationException when loading malformed JPG file.

Steps to Reproduce

Run the following code snippet with the path variable containing the path to the file from the attached archive:

You will get the following stack trace:

SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder.HuffmanTable.HuffmanTable(SixLabors.Memory.MemoryAllocator memoryAllocator, System.ReadOnlySpan<byte> codeLengths, System.ReadOnlySpan<byte> values = "System.ReadOnlySpan<Byte>[1034377664]")	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoderCore.ProcessDefineHuffmanTablesMarker(int remaining = 21)	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoderCore.ParseStream(System.IO.Stream stream, bool metadataOnly = false)	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoderCore.Decode<SixLabors.ImageSharp.PixelFormats.Rgba32>(System.IO.Stream stream)	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Formats.Jpeg.JpegDecoder.Decode<SixLabors.ImageSharp.PixelFormats.Rgba32>(SixLabors.ImageSharp.Configuration configuration, System.IO.Stream stream)	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.Decode<SixLabors.ImageSharp.PixelFormats.Rgba32>(System.IO.Stream stream, SixLabors.ImageSharp.Configuration config)	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.WithSeekableStream<System.ValueTuple<System.__Canon, System.__Canon>>(SixLabors.ImageSharp.Configuration config, System.IO.Stream stream, System.Func<System.IO.Stream, (System.__Canon, System.__Canon)> action)	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.Load<SixLabors.ImageSharp.PixelFormats.Rgba32>(SixLabors.ImageSharp.Configuration config, System.IO.Stream stream, out SixLabors.ImageSharp.Formats.IImageFormat format = null)	Unknown
SixLabors.ImageSharp.dll!SixLabors.ImageSharp.Image.Load<SixLabors.ImageSharp.PixelFormats.Rgba32>(SixLabors.ImageSharp.Configuration config, byte[] data)	Unknown
System Configuration

Found via SharpFuzz.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4