Module: wine Branch: stable Commit: c54e397718bddb2fe1046cd23d2be3c6f156a3bc URL: https://gitlab.winehq.org/wine/wine/-/commit/c54e397718bddb2fe1046cd23d2be3c...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Tue Apr 26 20:40:20 2022 +0300
ieframe: Initialize new history log entry.
In addition to 41cfc86d8dd65c71a7c81b826d02ac0a99050d6a.
This fixes another crash when browsing help file that I have here.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit 732f281570e3d33508c4619b160ea9d655a93a9e) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/ieframe/dochost.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/ieframe/dochost.c b/dlls/ieframe/dochost.c index 1ba31c552ed..543c0023c84 100644 --- a/dlls/ieframe/dochost.c +++ b/dlls/ieframe/dochost.c @@ -469,6 +469,8 @@ static void update_travellog(DocHost *This)
if(This->travellog.loading_pos == -1) { This->travellog.position++; + This->travellog.log[This->travellog.position].stream = NULL; + This->travellog.log[This->travellog.position].url = NULL; }else { This->travellog.position = This->travellog.loading_pos; This->travellog.loading_pos = -1;