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

Data types are not checked in some expressions #136

Open
stepanek-m opened this issue Sep 9, 2020 · 0 comments
Open

Data types are not checked in some expressions #136

stepanek-m opened this issue Sep 9, 2020 · 0 comments

Comments

@stepanek-m
Copy link
Contributor

In expressions such as 123 < "abc" or true and "abc", data types of operands are not checked and those expressions are parsed without error, even though YARA fails with error when parsing them.

This bug occurs with boolean operators (and, or, not) and comparison operators (==, !=, <, <=, >, >=). I haven't done any deeper research so it is possible that it occurs in some other expressions too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant