Thanks to visit codestin.com
Credit goes to github.com

Skip to content

src/quic_tx.c: initialization issues suspected by clang #3162

@chipitsine

Description

@chipitsine

Tool Name and Version

clang 21

Code Report

src/quic_tx.c:2237:22: error: default initialization of an object of type 'struct quic_cc_path' with const member leaves the object uninitialized [-Werror,-Wdefault-const-init-field-unsafe]
 2237 |         struct quic_cc_path path;
      |                             ^
include/haproxy/quic_cc-t.h:104:15: note: member 'mtu' declared 'const' here
  104 |         const size_t mtu;
      |                      ^

Additional Information

No response

Output of haproxy -vv

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: code-reportThis issue describes a code report (like valgrind or coverity)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions