A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ExcelDataReader/ExcelDataReader/issues/383 below:

ExcelReaderFactory.CreateBinaryReader can throw unexpected exceptions · Issue #383 · ExcelDataReader/ExcelDataReader · GitHub

In most cases, ExcelReaderFactory.CreateBinaryReader throws an ExcelReaderException when encountering an invalid input. However, it can throw several other exception types when opening files from the attached archive. These are:

You can run the following code to reproduce this (path should contain the path to one of the extracted files):

Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);

using (var file = File.OpenRead(path))
{
  ExcelReaderFactory.CreateBinaryReader(file);
}

Found via SharpFuzz.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4