Skip to content

Null check result of ecs_query_str()#291

Open
dubrowgn wants to merge 1 commit intoIndra-db:mainfrom
dubrowgn:patch-2
Open

Null check result of ecs_query_str()#291
dubrowgn wants to merge 1 commit intoIndra-db:mainfrom
dubrowgn:patch-2

Conversation

@dubrowgn
Copy link
Copy Markdown

ecs_query_str() returns NULL for empty queries, so add a null check before using the results.

See: #290

`ecs_query_str()` returns `NULL` for empty queries, so add a null check before using the results.
@dubrowgn
Copy link
Copy Markdown
Author

I only found 1 callsite for ecs_query_str()

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant