[FFmpeg-devel] [PATCH]Fix http authentication

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 26 11:48:01 CET 2014


Peter Ross <pross <at> xvid.org> writes:

> > -    av_strlcatf(authstr, len, ",algorithm=%s",  digest->algorithm);
> > +    av_strlcatf(authstr, len, ",algorithm=\"%s\"",  digest->algorithm);
> 
> authstr size is hard coded. check that adding the 
> quotes does not overflow it.

The hardcoded size is currently >30 characters more 
than needed (if I counted correctly), I only add two.

Carl Eugen



More information about the ffmpeg-devel mailing list