Re: [exim] Exim 4.77 RC2 uploaded

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nigel Metheringham
日付:  
To: Exim
題目: Re: [exim] Exim 4.77 RC2 uploaded

On 5 Oct 2011, at 06:00, Phil Pennock wrote:

>> OpenBSD also suggests:
>>
>> strcpy() is almost always misused, please use strlcpy()
>> sprintf() is often misused, please use snprintf()
>> strcat() is almost always misused, please use strlcat()
>>
>> in a few places. Details on request.
>
> Is often mis-used, but is not in Exim. They've been very carefully
> checked, on multiple occasions. strlcpy/strlcat are excellent functions
> which I use myself in new code, where I'm prepared to state "the porter
> has to provide a libc with them, or add the functions". In this case,
> Exim is handling the strings just fine.


Is there a magic comment form that we can put around those areas of code to let the compiler/checker know we did mean this and its OK (ie turning off lint)?

If so is it worth us quieting this particular build noisiness?

    Nigel.


--
[ Nigel Metheringham ------------------------------ nigel@??? ]
[                 Ellipsis Intangible Technologies                  ]