Re: [asterisk-dev] Fwd: Bug#925760: libss7: ftbfs with GCC-9

2019-04-02 Thread Sean Bright
A fix has been merged: https://gerrit.asterisk.org/c/libss7/+/11206 I don’t know if/when it will be released. Kind regards, Sean On Fri, Mar 29, 2019 at 3:39 AM Tzafrir Cohen wrote: > Hi, > > > I wanted to report this as a bug on the libss7 component, but I failed > to do so: there are no ver

Re: [asterisk-dev] Fwd: Bug#925760: libss7: ftbfs with GCC-9

2019-03-31 Thread Dennis Buteyn
GCC 8 added Wstringop-truncation, specifically designed to detect strncat and strncpy bugs. The errors given by GCC are valid, none of these strings are forcibly null-terminated after copy. While I'm in no way an expert in the SS7 protocol stack, at a glance it seems that the only mitigation

[asterisk-dev] Fwd: Bug#925760: libss7: ftbfs with GCC-9

2019-03-29 Thread Tzafrir Cohen
Hi, I wanted to report this as a bug on the libss7 component, but I failed to do so: there are no versions there and thus I can't set a version. Basically it seems gcc does not like strncpy with size same as the buffer size, as in case the source is not null-terminated, the target won't be. -