Re: [DVDnav-discuss] [PATCH] Use snprintf() rather than strcpy+3×strncat
Nico Sabbi
nicola_sabbi at fastwebnet.it
Thu Apr 19 00:42:49 CEST 2007
Nico Sabbi wrote:
> Diego 'Flameeyes' Pettenò wrote:
>
>> The attached patch replaces a strncpy call and three strncat with a
>> single snprintf() call.
>>
>> It's important because the boundary for strncat() is used in the wrong
>> way (the way strlcat() should be used).
>>
>> The patch was added to xine-lib by Matthias Hopf <mat at mshopf.de>.
>>
>>
> right
>
committed
More information about the DVDnav-discuss
mailing list