Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed for indexing strings out of bounds #247

Merged
merged 1 commit into from
Sep 21, 2018

Conversation

FairfieldTekLLC
Copy link

I don't know if I had bad XML from Tesseract, but your code was blowing up in these two spots where the position + the number of characters was greater than the length of the string.

So I added a check to make sure it is a valid offset and if it isn't I return a empty string.

@JonathanMagnan
Copy link
Member

Is it possible to get an HTML with this issue?

Best Regards,

Jonathan


Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper PlusLinqToSql Plus

Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval FunctionSQL Eval Function

@JonathanMagnan
Copy link
Member

Hello @FairfieldTekLLC ,

Sorry for the delay, the pull has been accepted. A new version should be available within a few hours.

Best Regards,

Jonathan

@JonathanMagnan JonathanMagnan merged commit e2ecdb6 into zzzprojects:master Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants