Skip to content

stringop-overflow on GCC 13.3.0 #504

Description

@Neverlord
/usr/include/c++/13/bits/stl_construct.h:97:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   97 |     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

best guess the source location for that one is

    inlined from 'void caf::json_writer::push(type)' at /scratch/vern/zeek-vssl/auxil/broker/caf/libcaf_core/src/json_writer.cpp:463:19:

(reported via Slack)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions