-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix for https://github.com/nanomq/nanomq/issues/1719 #903
Conversation
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
Signed-off-by: wayne <yukang.wei@emqx.io>
a06dff5
to
9c4ff5b
Compare
Signed-off-by: wayne <yukang.wei@emqx.io>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #903 +/- ##
==========================================
- Coverage 65.27% 65.24% -0.04%
==========================================
Files 130 130
Lines 37891 37898 +7
==========================================
- Hits 24734 24727 -7
- Misses 13157 13171 +14 ☔ View full report in Codecov by Sentry. |
Signed-off-by: wayne <yukang.wei@emqx.io>
@@ -1861,6 +1867,10 @@ topic_filter(const char *origin, const char *input) | |||
bool | |||
topic_filtern(const char *origin, const char *input, size_t n) | |||
{ | |||
// Wrong topic or invalid topic alias | |||
if (input == NULL || origin == NULL) | |||
return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doens't it conflict with topic alias?
No description provided.