Comments (5)
If you share the results, I will be grateful)
On the other hand, I'm not sure should I validate functions or not. For example, "UPPER()" will throw as well, I left it to show an error immediately. I mean if exception throws user can review formula immediately, but if I will return some value, even my wrapper around null, user can realize that later
from nostringevaluating.
This is expected behavior. I did it to not to decrease performance because of function checking. Alternatively I created another service to validate formula input.
from nostringevaluating.
Hey, thanks for the fast answer. I was not aware of the check syntax function. The problem unfortunately still remains.
New inputs that pass the check function but still crash:
";;"
-> System.InvalidOperationException
"-(!())"
-> System.ArgumentOutOfRangeException
from nostringevaluating.
Thank you!
- ";;" can be fixed in FormulaChecker
- "-(!())" can be fixed it in the function NotAliasFunction and probably in FormulaChecker I should add validation as well... will think
I will fix it in the next version.
from nostringevaluating.
Not sure how interested you are, I'm just having some fun playing around with C# Fuzzing.
So here is another one:
"LeN(2)"
-> System.NullReferenceException
If you want to I will report all findings in a few days, but I understand if you say that these bugs are not that relevant.
from nostringevaluating.
Related Issues (8)
- Use without extra dependencies HOT 5
- Some hints to improve the quality of the benchmark HOT 11
- How to implement String.Format() Functionality HOT 3
- How to calculate an expression for each row of a large data table without affecting performance HOT 9
- Stack overflow during dispose HOT 2
- Null value and other improvements
- DateTime Functions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nostringevaluating.