Bernhard Übelacker : msxml3: Fix crashes due to access to invalid context pointer.
Module: wine Branch: master Commit: 2ef4cde8ef65800db480588edc0ea3da8f527b61 URL: https://source.winehq.org/git/wine.git/?a=commit;h=2ef4cde8ef65800db480588ed... Author: Bernhard Übelacker <bernhardu(a)mailbox.org> Date: Mon Dec 20 09:33:55 2021 +0100 msxml3: Fix crashes due to access to invalid context pointer. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52073 Signed-off-by: Bernhard Übelacker <bernhardu(a)mailbox.org> Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msxml3/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c index 721ad54e379..272e438e773 100644 --- a/dlls/msxml3/node.c +++ b/dlls/msxml3/node.c @@ -1329,7 +1329,7 @@ static HRESULT import_loader_onDataAvailable(void *ctxt, char *ptr, DWORD len) inputbuffer = xmlParserInputBufferCreateIO(import_loader_io_read, import_loader_io_close, buffer, XML_CHAR_ENCODING_NONE); - *input = xmlNewIOInputStream(ctxt, inputbuffer, XML_CHAR_ENCODING_NONE); + *input = xmlNewIOInputStream(NULL, inputbuffer, XML_CHAR_ENCODING_NONE); if (!*input) xmlFreeParserInputBuffer(inputbuffer);
participants (1)
-
Alexandre Julliard