Skip to content

SharpLab crash #1364

Description

@masonwheeler

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions