Giter VIP home page Giter VIP logo

Comments (5)

KovtunV avatar KovtunV commented on May 25, 2024 1

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.

KovtunV avatar KovtunV commented on May 25, 2024

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.

Example 1:
image

Example 2:
image

from nostringevaluating.

SyrasX avatar SyrasX commented on May 25, 2024

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.

KovtunV avatar KovtunV commented on May 25, 2024

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.

SyrasX avatar SyrasX commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.