[x265] bugfix: segfault during user SEI copy

Steven Toth steven.toth at ltnglobal.com
Fri Apr 17 19:04:46 CEST 2020


When multiple x265_picture_t pics are passed to the encoder, if the second
pic has a longer user SEI message than the first, make sure we reallocate
the existing frame allocation in order to fit the longer messages, else a
segfault occurs when the allocate is overrun.

Signed-of-By: <steven.toth at ltnglobal.com>

- Steven Toth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20200417/d794bc52/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-x265-sei-overflow.patch
Type: application/x-patch
Size: 869 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20200417/d794bc52/attachment.bin>


More information about the x265-devel mailing list