El jue., 2 jul. 2020 a las 13:30, Vitaly Zaitsev via devel (<
devel(a)lists.fedoraproject.org>) escribió:
> On 01.07.2020 22:47, Sergio Belkin wrote:
> > So the question is: in this case I can override the Fedora compiler
> flags?
>
> Don't do this, please. You should fix such potentially vulnerable parts
> of code and send your patch to upstream.
>
> --
> Sincerely,
> Vitaly Zaitsev (vitaly(a)easycoding.org)
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
>
Thanks everyone, I guess the same thing goes for:
warning: ignoring return value of 'ssize_t write(int, const void*, size_t)'
declared with attribute 'warn_unused_result'
(The line in the source code is if(upLogPerror) ::write(2,logbuf,n); \ )
doesn't it?
That's only a warning. Ideally the code should check the write, but
it's not actually preventing you building the package.