Skip to content
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

部分模块初始化配置的时候时,用address sanitizer检测出踩内存问题 #95

Open
xbc112233 opened this issue Jun 5, 2022 · 1 comment

Comments

@xbc112233
Copy link

  1. modules/nginx-multiport-module/ngx_http_broadcast_module.c:ngx_http_broadcast_commands少了一个ngx_null_command
  2. ngx_rtmp_codec_add_variables函数:for (v = ngx_rtmp_codec_variabes; v->name.len; v++)这个地方原理同上,只不过结构体不是command_t, 我是直接改成遍历数组修复
@xbc112233 xbc112233 changed the title 部分模块初始化配置的时候有,用address sanitizer检测出踩内存问题 部分模块初始化配置的时候时,用address sanitizer检测出踩内存问题 Jun 5, 2022
@lystormenvoy
Copy link

能贴一下具体代码,怎么修改的吗?

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

No branches or pull requests

2 participants