[vlc-devel] [PATCH 3/3] Initialize title strings with non NULL pointer
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...
Size: 3155 bytes
Desc: not available
More information about the vlc-devel