On Mon, 12 Oct 2020 13:49:52 GMT, Kim Barrett wrote:
>> Summary: Fix stringop-truncation warnings casused by gcc.
>>
>> The newer gcc(gcc-8 or higher) would warn for calls to bounded string
>> manipulation functions such as 'strncpy' that may either truncate the
>> copied string or leave the des
On Mon, 12 Oct 2020 11:36:17 GMT, eric.1iu
wrote:
> Summary: Fix stringop-truncation warnings casused by gcc.
>
> The newer gcc(gcc-8 or higher) would warn for calls to bounded string
> manipulation functions such as 'strncpy' that may either truncate the
> copied string or leave the destinatio
On Mon, 12 Oct 2020 11:36:17 GMT, eric.1iu
wrote:
> Summary: Fix stringop-truncation warnings casused by gcc.
>
> The newer gcc(gcc-8 or higher) would warn for calls to bounded string
> manipulation functions such as 'strncpy' that may either truncate the
> copied string or leave the destinatio
On Mon, 12 Oct 2020 11:36:17 GMT, eric.1iu
wrote:
> Summary: Fix stringop-truncation warnings casused by gcc.
>
> The newer gcc(gcc-8 or higher) would warn for calls to bounded string
> manipulation functions such as 'strncpy' that may either truncate the
> copied string or leave the destinatio
Summary: Fix stringop-truncation warnings casused by gcc.
The newer gcc(gcc-8 or higher) would warn for calls to bounded string
manipulation functions such as 'strncpy' that may either truncate the
copied string or leave the destination unchanged.
The reason is that -fsanitize=address might simpl