[OpenSIPS-Devel] [OpenSIPS/opensips] da3782: proto_msrp: Fix gcc-10 false positive on ubuntu-20.04

Liviu Chircu noreply at github.com
Thu Jul 14 11:46:20 UTC 2022


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: da3782ee3d113892c70183b8ae7731872dfb289a
      https://github.com/OpenSIPS/opensips/commit/da3782ee3d113892c70183b8ae7731872dfb289a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M modules/proto_msrp/msrp_signaling.c

  Log Message:
  -----------
  proto_msrp: Fix gcc-10 false positive on ubuntu-20.04

In function ‘memcpy’, inlined from ‘_ident_builder.constprop’
at msrp_signaling.c:1198:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: error:
‘__builtin___memcpy_chk’ writing 32 bytes into a region of size 18
overflows the destination [-Werror=stringop-overflow=]

   34 |   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the Devel mailing list