[vlc-devel] [PATCH] fix null deref crash
Rémi Denis-Courmont
remi at remlab.net
Thu Sep 17 21:45:36 CEST 2020
Le torstaina 17. syyskuuta 2020, 22.34.37 EEST Lyndon Brown a écrit :
> a few plugins have recently introduced options with no shorttext,
> resulting in a null dereference crash when their respective entries are
> selected in the Qt advances prefs tree.
Passing NULL for a translated string is not defined. The approach in your patch
is not an adequate solution, because it cannot prevent the NULL dereference
when NLS is disabled.
The NULs need to be replaced with valid strings.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list