Skip to content

Nginx 更新到了1.27.4,Compile error~ #200

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

Open
foglede opened this issue Feb 10, 2025 · 1 comment
Open

Nginx 更新到了1.27.4,Compile error~ #200

foglede opened this issue Feb 10, 2025 · 1 comment

Comments

@foglede
Copy link
Contributor

foglede commented Feb 10, 2025

@rryqszq4
臭宝~,Nginx 更新到了1.27.4 ,又不能编译了。
报错信息是
ngx_http_php_util.c:69:5: error: 'strncat' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
69 | strncat(result, replace, strlen(replace));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

我看 使用 snprintf 代替 strncat 我改个源码我先试,然后再提交

@foglede foglede changed the title Nginx 更新到了1.27.4 Nginx 更新到了1.27.4,Compile error~ Feb 10, 2025
@foglede
Copy link
Contributor Author

foglede commented Feb 10, 2025

1290312

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

1 participant