Module: wine Branch: master Commit: 2e23904abc7c0587462a142707f3c18e8b894e5c URL: https://gitlab.winehq.org/wine/wine/-/commit/2e23904abc7c0587462a142707f3c18...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Wed Oct 11 17:55:04 2023 +1100
msxml3: Move tid_NULL out of possible enum values.
This was reported as a out of bounds access (Coverity), which is possible if the tid_NULL was ever passed in.
---
dlls/msxml3/dispex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c index 6212fc2976c..ef68cb74745 100644 --- a/dlls/msxml3/dispex.c +++ b/dlls/msxml3/dispex.c @@ -82,7 +82,7 @@ static lib_id_t lib_ids[] = { };
static tid_id_t tid_ids[] = { - { &IID_NULL, LibXml_Last }, + { &IID_NULL, LibXml2 }, { &IID_IXMLDOMAttribute, LibXml2 }, { &IID_IXMLDOMCDATASection, LibXml2 }, { &IID_IXMLDOMComment, LibXml2 },