-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
MockOsSysCalls::setsockopt
has unwarranted ASSERT
#19079
Comments
I'm not a |
cc: @yanavlasov |
I can't quite find an appropriate label for this. @yanavlasov, any suggestions? |
@efimki feel free to create a PR to fix |
Created #19126 |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
Fixed by #19126 |
Title:
MockOsSysCalls::setsockopt
has unwarranted ASSERTDescription:
MockOsSysCalls::setsockopt
hasASSERT(optlen == sizeof(int));
butsetsockopt
API allows socket options to have different length. This breaks our internal test that sets 16 byte socket option.Repro steps:
The following test triggers an ASSERT in debug build:
The text was updated successfully, but these errors were encountered: