<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
bgcolor="#FFFFFF" text="#000000">
<p>On 27/03/2019 21:46, Matthias Klose wrote:</p>
<blockquote type="cite"
cite="mid:E1h9EVW-0001H9-E5@paradis.debian.org">
<pre class="moz-quote-pre" wrap="">Package: src:libss7
Version: 2.0.0-2
Severity: normal
Tags: sid bullseye
User: <a class="moz-txt-link-abbreviated" href="mailto:debian-gcc@lists.debian.org">debian-gcc@lists.debian.org</a>
Usertags: ftbfs-gcc-9
so nothing has to be done for the buster release.
The full build log can be found at:
<a class="moz-txt-link-freetext" href="http://people.debian.org/~doko/logs/gcc9-20190321/libss7_2.0.0-2_unstable_gcc9.log">http://people.debian.org/~doko/logs/gcc9-20190321/libss7_2.0.0-2_unstable_gcc9.log</a>
The last lines of the build log are at the end of this report.
[...]
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'isup_event_iam' at isup.c:4337:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' output may be truncated copying 50 bytes from a string of length 63 [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'isup_event_iam' at isup.c:4341:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' output may be truncated copying 50 bytes from a string of length 63 [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</pre>
</blockquote>
Upstream fix (not yet in any release) - <a moz-do-not-send="true"
href="https://gerrit.asterisk.org/c/libss7/+/11206">https://gerrit.asterisk.org/c/libss7/+/11206</a><br>
<p><br>
</p>
<p>(Replace strncpy with their own safe_copy_string(), as is already
done in asterisk)</p>
<p><br>
</p>
<p>-- Tzafrir<br>
</p>
</body>
</html>