https://bugs.winehq.org/show_bug.cgi?id=53569
Bug ID: 53569 Summary: postgresql installer 9.3 needs fixed fso.GetTempName Product: Wine Version: 7.11 Hardware: x86 URL: https://www.enterprisedb.com/downloads/postgres-postgr esql-downloads OS: Linux Status: NEW Keywords: download, Installer, source Severity: minor Priority: P2 Component: scrrun Assignee: wine-bugs@winehq.org Reporter: sloper42@yahoo.com CC: austinenglish@gmail.com, sloper42@yahoo.com Depends on: 46083, 53565 Distribution: Fedora
This is followup of Bug #53565
Noticed in postgresql 9.3.25-1 installer. When starting the installer, a script called prerun_checks is executed. There is issue executing following line
Temp_Path = strSystemRoot & "" & fso.GetTempName() & ".vbs"
".vbs" is not attached to Temp_Path, because GetTempName returns wrong BSTR length.
https://bugs.winehq.org/show_bug.cgi?id=53569
--- Comment #1 from Robert Wilhelm sloper42@yahoo.com --- Created attachment 72941 --> https://bugs.winehq.org/attachment.cgi?id=72941 patch
https://bugs.winehq.org/show_bug.cgi?id=53569
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Robert Wilhelm from comment #1)
Created attachment 72941 [details] patch
Looks good, needs a small test though. We should also fix a leak on RtlGenRandom() failure path, but that's a minor issue.
https://bugs.winehq.org/show_bug.cgi?id=53569
--- Comment #3 from Robert Wilhelm sloper42@yahoo.com --- Thanks. I will prepare a MR.
https://bugs.winehq.org/show_bug.cgi?id=53569
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|postgresql installer 9.3 |postgresql installer 9.3 |needs fixed fso.GetTempName |needs correct string length | |returned from | |fso.GetTempName
https://bugs.winehq.org/show_bug.cgi?id=53569
--- Comment #4 from Robert Wilhelm sloper42@yahoo.com --- I submitted a MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/679
https://bugs.winehq.org/show_bug.cgi?id=53569
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |1f4c48a0007341589bb7c17b952 | |68669c988bfbc Status|NEW |RESOLVED
--- Comment #5 from Robert Wilhelm sloper42@yahoo.com --- MR went in: https://gitlab.winehq.org/wine/wine/-/commit/1f4c48a0007341589bb7c17b9526866...
https://bugs.winehq.org/show_bug.cgi?id=53569
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.16.
https://bugs.winehq.org/show_bug.cgi?id=53569
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0.x
https://bugs.winehq.org/show_bug.cgi?id=53569
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |53971
https://bugs.winehq.org/show_bug.cgi?id=53569 Bug 53569 depends on bug 53971, which changed state.
Bug 53971 Summary: postgresql installer 9.3 needs support for Username in WScript.Network https://bugs.winehq.org/show_bug.cgi?id=53971
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=53569
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |---
--- Comment #7 from Michael Stefaniuc mstefani@winehq.org --- Removing the 7.0.x milestone from bug fixes included in 7.0.2.