-
Notifications
You must be signed in to change notification settings - Fork 112
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
Pass nil to Nginx::Headers_in[]= causes segmentaion fault #473
Comments
@yano3 Thank you for the report. What is the expected behavior? Is throwing an exception fine? |
In my use case, there is no problem with the behavior of throwing an exception. I only expect to avoid segmentation fault. IMO, following behavior is good.
For example, it's natural in the following case.
|
yyamano
added a commit
to yyamano/ngx_mruby
that referenced
this issue
Aug 18, 2020
yyamano
added a commit
to yyamano/ngx_mruby
that referenced
this issue
Aug 18, 2020
3 tasks
Sounds good. I just sent a pull request #475 |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pass
nil
toNginx::Headers_in[]=
causes segmentaion fault.Reproduce
The following error is output to
error.log
.This also happen with
Nginx::Headers_out[]=
too.The text was updated successfully, but these errors were encountered: