]> granicus.if.org Git - handbrake/commit
Fix crash in add_ffmpeg_attachment: the value for "filename" metadata may be NULL...
authorRodeo <tdskywalker@gmail.com>
Tue, 24 Jan 2012 22:22:13 +0000 (22:22 +0000)
committerRodeo <tdskywalker@gmail.com>
Tue, 24 Jan 2012 22:22:13 +0000 (22:22 +0000)
commit10e0298b16908071dd8e34b1c773d5dc96051e73
treee4c9f73f988c5a22db317018afa412267d18b8d6
parentb0c88b1f459ffbb9baeb13b88f97293d170fcc74
Fix crash in add_ffmpeg_attachment: the value for "filename" metadata may be NULL, so we can't call strlen without checking.

Should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=23018 and https://forum.handbrake.fr/viewtopic.php?f=12&t=23101

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4420 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/stream.c