[vlc-commits] [Git][videolan/vlc][3.0.x] direct3d11: fix potential double free
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Wed Dec 11 19:14:55 UTC 2024
Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC
Commits:
20cdad91 by Steve Lhomme at 2024-12-11T17:36:45+00:00
direct3d11: fix potential double free
Added in b4f9d49b130e4e4f6da9398c01fd9bc5dd153a88.
Fixes #28902
- - - - -
1 changed file:
- modules/video_output/win32/direct3d11.c
Changes:
=====================================
modules/video_output/win32/direct3d11.c
=====================================
@@ -1686,7 +1686,7 @@ static int Direct3D11Open(vout_display_t *vd, bool external_device)
}
video_format_Clean(&vd->fmt);
- vd->fmt = sys->pool_fmt;
+ video_format_Copy(&vd->fmt, &sys->pool_fmt);
sys->log_level = var_InheritInteger(vd, "verbose");
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/20cdad9169309d03359e5e0c4c076cc0953270ec
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/20cdad9169309d03359e5e0c4c076cc0953270ec
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list