reactos/dll/win32/msi
Doug Lyons 2bc44bf95c
[MSI] Don't write past end of string when selecting parent directory (#6335)
Import Wine commit: bbce5d014d

Since there's not really something sensible to do in the
"path contains no backslashes" case (adding a backslash seems pointless),
move PathAddBackslashW call inside the if condition to avoid the crash.
Fix suggested by Thomas Faber.

This fixes heap assert in msi/dialog.c when installing Tortoise GIT.
CORE-16693

Co-authored-by: Thomas Faber <thomas.faber@reactos.org>
Co-authored-by: Fabian Maurer <dark.shadow4@web.de>
2024-02-06 23:20:57 +03:00
..
lang [MSI] Update Romanian (ro-RO) translation (#6260) 2024-01-06 22:46:33 +01:00
action.c
alter.c
appsearch.c
assembly.c
automation.c
classes.c
CMakeLists.txt
cond.y
create.c
custom.c
database.c
delete.c
dialog.c [MSI] Don't write past end of string when selecting parent directory (#6335) 2024-02-06 23:20:57 +03:00
distinct.c
drop.c
files.c
font.c
format.c
handle.c
insert.c
instabsent.bmp
instadvert.bmp
install.c
instlocal.bmp
media.c
msi.c
msi.rc
msi.spec
msi_main.c
msipriv.h
msiquery.c
msiserver.idl
msiserver.rgs
msiserver_dispids.h
msiserver_r.rgs
msiserver_t.rgs
package.c
patch.c
precomp.h
query.h
record.c
registry.c
resource.h
rsrc.rc
script.c
select.c
source.c
sql.y
storages.c
streams.c
string.c
suminfo.c
table.c
tokenize.c
update.c
upgrade.c
version.rc
where.c
winemsi.idl