Skip to content

Commit c287b32

Browse files
committed
revert accidental push to release/2.1.x
1 parent e68d0b4 commit c287b32

File tree

8 files changed

+132
-223
lines changed

8 files changed

+132
-223
lines changed

src/ImageSharp/Formats/Gif/LzwDecoder.cs

+131-193
Large diffs are not rendered by default.

tests/ImageSharp.Tests/Formats/Gif/GifDecoderTests.cs

-12
Original file line numberDiff line numberDiff line change
@@ -317,17 +317,5 @@ public void IssueTooLargeLzwBits<TPixel>(TestImageProvider<TPixel> provider)
317317
image.DebugSaveMultiFrame(provider);
318318
image.CompareToReferenceOutputMultiFrame(provider, ImageComparer.Exact);
319319
}
320-
321-
// https://github.com/SixLabors/ImageSharp/issues/2859
322-
[Theory]
323-
[WithFile(TestImages.Gif.Issues.Issue2859_A, PixelTypes.Rgba32)]
324-
[WithFile(TestImages.Gif.Issues.Issue2859_B, PixelTypes.Rgba32)]
325-
public void Issue2859_LZWPixelStackOverflow<TPixel>(TestImageProvider<TPixel> provider)
326-
where TPixel : unmanaged, IPixel<TPixel>
327-
{
328-
using Image<TPixel> image = provider.GetImage();
329-
image.DebugSaveMultiFrame(provider);
330-
image.CompareToReferenceOutputMultiFrame(provider, ImageComparer.Exact);
331-
}
332320
}
333321
}

tests/ImageSharp.Tests/TestImages.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,7 @@ public static class Issues
464464
public const string Issue1962NoColorTable = "Gif/issues/issue1962_tiniest_gif_1st.gif";
465465
public const string Issue2012EmptyXmp = "Gif/issues/issue2012_Stronghold-Crusader-Extreme-Cover.gif";
466466
public const string Issue2012BadMinCode = "Gif/issues/issue2012_drona1.gif";
467-
public const string Issue2758 = "Gif/issues/issue_2758.gif";
468-
public const string Issue2859_A = "Gif/issues/issue_2859_A.gif";
469-
public const string Issue2859_B = "Gif/issues/issue_2859_B.gif";
467+
public const string Issue2758 = "Gif/issues/issue_2758.gif";
470468
}
471469

472470
public static readonly string[] All = { Rings, Giphy, Cheers, Trans, Kumin, Leo, Ratio4x1, Ratio1x4 };

tests/Images/External/ReferenceOutput/GifDecoderTests/Issue2859_LZWPixelStackOverflow_Rgba32_issue_2859_A.gif/00.png

-3
This file was deleted.

tests/Images/External/ReferenceOutput/GifDecoderTests/Issue2859_LZWPixelStackOverflow_Rgba32_issue_2859_B.gif/00.png

-3
This file was deleted.

tests/Images/External/ReferenceOutput/GifDecoderTests/Issue2859_LZWPixelStackOverflow_Rgba32_issue_2859_B.gif/01.png

-3
This file was deleted.

tests/Images/Input/Gif/issues/issue_2859_A.gif

-3
This file was deleted.

tests/Images/Input/Gif/issues/issue_2859_B.gif

-3
This file was deleted.

0 commit comments

Comments
 (0)