Comment # 3 on bug 1181882 from
> 
> strncpy works as intended here, this is a gcc bug
> https://gcc.gnu.org/bugzilla//show_bug.cgi?id=88059

Yes, I must admit the warning has quite some false positivies. In this case,
length is used both for allocation of dest argument (which is strlen of message
+ 1).
Thank you for the workaround.


You are receiving this mail because: