Skip to content

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

@foglede

Description

@foglede

@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 我改个源码我先试,然后再提交

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy