Skip to content

SharpLab crash #1364

@masonwheeler

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

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