[vlc-devel] [PATCH] Fix stack overflow in ExecuteCommand

Cheng Sun cheng.sun at ymail.com
Thu Dec 15 19:17:52 CET 2011


On 15/12/11 18:05, Cheng Sun wrote:
> On 15/12/11 17:57, Cheng Sun wrote:
>> On 15/12/11 17:38, Rémi Denis-Courmont wrote:
>>> With this patch, VLC will do undefined behaviour as in dereferencing NULL 
>>> instead of undefined behaviour as in overflowing the stack.
>>>
>>> It could be better...
>>>
>> Revised patch which checks for malloc returning NULL
>>
>> - Cheng
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
> Revised patch, fixing coding style
>
> - Cheng
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
Revised patch, which corrects a size calculation

- Cheng
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-stack-overflow-in-ExecuteCommand.patch
Type: text/x-patch
Size: 2472 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111215/c9896a13/attachment.bin>


More information about the vlc-devel mailing list