[vlc-devel] [PATCH] Inverted params to memset. Length 0 looks bogus

Dominique Leuenberger dominique at leuenberger.net
Thu Jul 23 09:39:07 CEST 2009


Hi everybody,

Just spotted this one in ty.c. Even though there is a text that 'this  
works, believe me' is written above (sure it does), I'm wondering if  
it's anyhow meant like this.

I mean setting memset to a value 4 and size 0 sounds rather weird.

If it's true, then sorry for my noise, if it's not correct, well, the  
patch is attached.

Best regards,
Dominique
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-inverted-parameters-to-memset.-Setting-the-length-to.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090723/735e9726/attachment.bin>


More information about the vlc-devel mailing list