[FFmpeg-devel] [PATCH] Handling special characters in a URL.

Michael Niedermayer michaelni at gmx.at
Fri Mar 1 04:18:06 CET 2013


On Fri, Mar 01, 2013 at 08:02:44AM +0530, Senthilnathan Maadasamy wrote:
> On Fri, Mar 1, 2013 at 7:49 AM, Michael Niedermayer <michaelni at gmx.at>wrote:
> 
> > > No.  The previous two comparisons of enc_len with MAX_URL_SIZE make sure
> > > that there is always place for the trailing NULL character.
> >
> > consider component_size == 0
> >
> I tested with component_size as zero and it properly logs the error message
> that buffer size is too small.

but first it accesses out of the array

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130301/f214de1e/attachment.asc>


More information about the ffmpeg-devel mailing list