-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
SIGSEGV on empty grpc findTraces query #2996
Comments
It's very strange that gRPC allows the above handler to be called with |
I think this would also happen with all other API methods since most of them require a request object which could be nil, so the code need to check for that and return an error. |
Hi, I would like to work on this issue |
It's yours |
Wasn't this fixed by #2979 ? |
Only FindTraces method was fixed there, we should add this check to all methods. |
/assign |
Go for it @akuzni2 :) |
Have a bit of a question on this - should we be checking if the actual client function Example: |
yes |
I did create a PR for this issue - had a few questions that I left on the PR submissions. Thanks! |
When processing a request for
findTraces
with no parameters, the server experiences a segmentation fault/segfault.To Reproduce
Using the grpc-js generated client from
ts-proto
,QueryServiceClient
:qsc.findTraces({})
, i.e. make a request with none of the required parameters populated.Expected behavior
An error to be returned, and the server to not be down / restart.
Version:
The text was updated successfully, but these errors were encountered: