[vlc-commits] display: avoid use-after-free
Rémi Denis-Courmont
git at videolan.org
Sun May 3 17:00:35 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 3 18:00:26 2015 +0300| [2c5eb9a4c7880090a1223865e922f035adc11c90] | committer: Rémi Denis-Courmont
display: avoid use-after-free
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c5eb9a4c7880090a1223865e922f035adc11c90
---
src/video_output/display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 4bc14d1..5662678 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -471,6 +471,7 @@ static int VoutDisplayCreateRender(vout_display_t *vd)
if (filter == NULL) {
msg_Err(vd, "Failed to adapt decoder format to display");
filter_chain_Delete(osys->filters);
+ osys->filters = NULL;
return -1;
}
return 0;
More information about the vlc-commits
mailing list