You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version of Markdig can still throw IndexOutOfRangeException from Markdown.ToHtml method (this is different from #276). This time I've collected all the unique stack traces, and minimized the inputs:
Exception has occurred: CLR/System.IndexOutOfRangeException
An unhandled exception of type 'System.IndexOutOfRangeException' occurred in Markdig.dll: 'Index was outside the bounds of the array.'
at Markdig.Helpers.StringSlice.TrimStart()
at Markdig.Extensions.Tables.GridTableParser.SetRowSpanState(List`1 columns, StringSlice line, Boolean& isHeaderRow, Boolean& hasRowSpan)
at Markdig.Extensions.Tables.GridTableParser.HandleNewRow(BlockProcessor processor, GridTableState tableState, Table gridTable)
at Markdig.Parsers.BlockProcessor.TryContinueBlocks()
at Markdig.Parsers.BlockProcessor.ProcessLine(StringSlice newLine)
at Markdig.Parsers.MarkdownParser.ProcessBlocks()
at Markdig.Parsers.MarkdownParser.Parse()
at Markdig.Markdown.ToHtml(String markdown, TextWriter writer, MarkdownPipeline pipeline)
at Markdig.Markdown.ToHtml(String markdown, MarkdownPipeline pipeline)
Exception has occurred: CLR/System.IndexOutOfRangeException
An unhandled exception of type 'System.IndexOutOfRangeException' occurred in Markdig.dll: 'Index was outside the bounds of the array.'
at Markdig.Helpers.StringSlice.TrimEnd()
at Markdig.Extensions.Tables.GridTableParser.SetRowSpanState(List`1 columns, StringSlice line, Boolean& isHeaderRow, Boolean& hasRowSpan)
at Markdig.Extensions.Tables.GridTableParser.HandleNewRow(BlockProcessor processor, GridTableState tableState, Table gridTable)
at Markdig.Parsers.BlockProcessor.TryContinueBlocks()
at Markdig.Parsers.BlockProcessor.ProcessLine(StringSlice newLine)
at Markdig.Parsers.MarkdownParser.ProcessBlocks()
at Markdig.Parsers.MarkdownParser.Parse()
at Markdig.Markdown.ToHtml(String markdown, TextWriter writer, MarkdownPipeline pipeline)
at Markdig.Markdown.ToHtml(String markdown, MarkdownPipeline pipeline)
Exception has occurred: CLR/System.IndexOutOfRangeException
An unhandled exception of type 'System.IndexOutOfRangeException' occurred in Markdig.dll: 'Index was outside the bounds of the array.'
at Markdig.Extensions.Tables.Table.IsValid()
at Markdig.Extensions.Tables.GridTableParser.TryContinue(BlockProcessor processor, Block block)
at Markdig.Parsers.BlockProcessor.TryContinueBlocks()
at Markdig.Parsers.BlockProcessor.ProcessLine(StringSlice newLine)
at Markdig.Parsers.MarkdownParser.ProcessBlocks()
at Markdig.Parsers.MarkdownParser.Parse()
at Markdig.Markdown.ToHtml(String markdown, TextWriter writer, MarkdownPipeline pipeline)
at Markdig.Markdown.ToHtml(String markdown, MarkdownPipeline pipeline)
Exception has occurred: CLR/System.IndexOutOfRangeException
An unhandled exception of type 'System.IndexOutOfRangeException' occurred in Markdig.dll: 'Index was outside the bounds of the array.'
at Markdig.Extensions.Tables.Table.IsValid()
at Markdig.Extensions.Tables.GridTableParser.Close(BlockProcessor processor, Block block)
at Markdig.Parsers.BlockProcessor.Close(Int32 index)
at Markdig.Parsers.BlockProcessor.CloseAll(Boolean force)
at Markdig.Parsers.MarkdownParser.ProcessBlocks()
at Markdig.Parsers.MarkdownParser.Parse()
at Markdig.Markdown.ToHtml(String markdown, TextWriter writer, MarkdownPipeline pipeline)
at Markdig.Markdown.ToHtml(String markdown, MarkdownPipeline pipeline)
The latest version of Markdig can still throw IndexOutOfRangeException from Markdown.ToHtml method (this is different from #276). This time I've collected all the unique stack traces, and minimized the inputs:
IndexOutOfRangeException 1
IndexOutOfRangeException 2
IndexOutOfRangeException 3
IndexOutOfRangeException 4
I'm using Markdig 0.15.7 and .NET Core 2.2.103.
Found via SharpFuzz.
The text was updated successfully, but these errors were encountered: