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

Builder does not allow to create string meta with empty string #58

Closed
metthal opened this issue Jan 28, 2020 · 0 comments
Closed

Builder does not allow to create string meta with empty string #58

metthal opened this issue Jan 28, 2020 · 0 comments

Comments

@metthal
Copy link
Member

metthal commented Jan 28, 2020

YaraRuleBuilder does not allow to create string meta with empty string as value but it should allow it because even empty value is valid value. Exception thrown:

C++ exception with description "YaraRuleBuilder error: Error: String-Meta key and value must be non-empty." thrown in the test body.
metthal pushed a commit that referenced this issue Jan 29, 2020
* Empty string meta values are now accepted by YaraRuleBuilder

* Rename new builder test for empty value meta construction
@metthal metthal closed this as completed Jan 29, 2020
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

2 participants