[vlc-devel] [PATCH 3/3] Initialize title strings with non NULL pointer

Daniel Glaas daniel.glaas at freenet.de
Sat Jul 18 04:07:00 CEST 2020

Initialize title strings with non NULL pointer

If no valid title could be parsed out of an RSS feed, the segmentation fault
caused VLC to crash. The reason therefore was that the expected pointers to
the char buffers containing the titles were NULL pointers.

This commit initializes the titles of both the feeds and all items with a
zero string. Additionally, the check whether already a title was found 
parsing is removed as it is not reasonable why a RSS stream should provide
several title tags for one item.
And even if: This is not problem of VLC.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Initialize-title-strings-with-non-NULL-pointer.patch
Type: text/x-patch
Size: 3155 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200718/72eee6d2/attachment.bin>

More information about the vlc-devel mailing list