SharpLab icon indicating copy to clipboard operation
SharpLab copied to clipboard

SharpLab crash

Open masonwheeler opened this issue 9 months ago • 0 comments

Entering the following code into SharpLab, in Run mode on x64 Release, will cause the container to crash:

using System;
using System.IO;
using System.IO.Compression;

var output = new MemoryStream();
var compressor = new BrotliStream(output, CompressionLevel.SmallestSize);
compressor.Write([0,0,0,0]);
compressor.Flush();
foreach (var b in output.ToArray())
    Console.WriteLine(b);

masonwheeler avatar May 17 '25 15:05 masonwheeler