-Wstringop-truncation warnings

DJ Delorie dj@redhat.com
Mon May 7 06:24:00 GMT 2018


Alan Modra <amodra@gmail.com> writes:
> -		  && strncmp (isym.n_name, ".bf", sizeof isym.n_name) != 0
> +		  && memcmp (isym.n_name, ".bf", sizeof ".bf") != 0

Is this really the same if isym.n_name[] is ".bf1234\0\0" ?



More information about the Binutils mailing list