[Git][wine/wine][master] 2 commits: kernelbase: Don't write result on async NtWriteFile returns.
"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Thu, 05 Feb 2026 16:25:18 -0600
| Newsgroups | gmane.comp.emulators.wine.cvs |
|---|---|
| Message-ID | <[email protected]> |
----==_mimepart_698518ce40621_37bc84f9b1416709dd
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Alexandre Julliard pushed to branch master at wine / wine
Commits:
49a68b3e by Stefan D=C3=B6singer at 2026-02-05T23:12:00+01:00
kernelbase: Don't write result on async NtWriteFile returns.
If the caller passes the same pointer to WriteFile as it passes to
GetOverlappedResult in another thread, the writes to the memory
location in the two files will race each other.
- - - - -
97ec2d14 by Stefan D=C3=B6singer at 2026-02-05T23:12:09+01:00
kernelbase: Don't write result on async NtReadFile returns.
- - - - -
1 changed file:
- dlls/kernelbase/file.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/361b82c3=
2e093e4cb9fe4a886289bdebb823a408...97ec2d1486c479631165182da325d6f72d8bdd=
b6
-- =
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/361b82c3=
2e093e4cb9fe4a886289bdebb823a408...97ec2d1486c479631165182da325d6f72d8bdd=
b6
You're receiving this email because of your account on gitlab.winehq.org.=
----==_mimepart_698518ce40621_37bc84f9b1416709dd
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www=
.w3.org/TR/REC-html40/loose.dtd">
<html lang=3D"en" style=3D'--code-editor-font: var(--default-mono-font, "=
GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, =
Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospac=
e;'>
<head>
<meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type">=
<title>
GitLab
</title>
<style data-premailer=3D"ignore" type=3D"text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Ro=
boto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Colo=
r Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size=
: inherit;
}
</style>
</head>
<body style=3D'font-size: inherit; -webkit-text-shadow: rgba(255,255,255,=
.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont=
,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-ser=
if,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emo=
ji";'>
<div class=3D"content">
<h3 style=3D"margin-top: 20px; margin-bottom: 10px;">
Alexandre Julliard pushed to branch master at <a href=3D"https://gitlab.w=
inehq.org/wine/wine">wine / wine</a>
</h3>
<h4 style=3D"margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/49a68b3ea6dead3693061e8c7f45d38be15408fc">49a68b3e</a>=
</strong>
<div>
<span> by Stefan D=C3=B6singer </span> <i> at 2026-02-05T23:12:00+01:00 <=
/i>
</div>
<pre class=3D"commit-message" style=3D'white-space: pre-wrap; display: bl=
ock; font-size: 14px; color: #3a383f; position: relative; font-family: "G=
itLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation M=
ono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida co=
nsole", monospace; font-variant-ligatures: none; word-break: break-all; w=
ord-wrap: break-word; background-color: #fbfafd; border-radius: 2px; marg=
in: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>kernelbase: Don't w=
rite result on async NtWriteFile returns.
If the caller passes the same pointer to WriteFile as it passes to
GetOverlappedResult in another thread, the writes to the memory
location in the two files will race each other.
</pre>
</li>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/97ec2d1486c479631165182da325d6f72d8bddb6">97ec2d14</a>=
</strong>
<div>
<span> by Stefan D=C3=B6singer </span> <i> at 2026-02-05T23:12:09+01:00 <=
/i>
</div>
<pre class=3D"commit-message" style=3D'white-space: pre-wrap; display: bl=
ock; font-size: 14px; color: #3a383f; position: relative; font-family: "G=
itLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation M=
ono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida co=
nsole", monospace; font-variant-ligatures: none; word-break: break-all; w=
ord-wrap: break-word; background-color: #fbfafd; border-radius: 2px; marg=
in: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>kernelbase: Don't w=
rite result on async NtReadFile returns.
</pre>
</li>
</ul>
<h4 style=3D"margin-top: 10px; margin-bottom: 10px;">
1 changed file:
</h4>
<ul>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/compare/361b82c32e093e4c=
b9fe4a886289bdebb823a408...97ec2d1486c479631165182da325d6f72d8bddb6#6c845=
445f68f8d3b54ba3798c9bb9e781b28b2ec">
dlls/kernelbase/file.c
</a>
</li>
</ul>
</div>
<div class=3D"footer" style=3D"margin-top: 10px;">
<p style=3D"font-size: small; color: #626168;">
=E2=80=94
<br>
<a href=3D"https://gitlab.winehq.org/wine/wine/-/compare/361b82c32e093e4c=
b9fe4a886289bdebb823a408...97ec2d1486c479631165182da325d6f72d8bddb6">View=
it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target=3D"_blan=
k" rel=3D"noopener noreferrer" href=3D"https://gitlab.winehq.org">gitlab.=
winehq.org</a>. <a href=3D"https://gitlab.winehq.org/-/profile/notificati=
ons" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"mng-notif-lin=
k">Manage all notifications</a> =C2=B7 <a href=3D"https://gitlab.winehq.o=
rg/help" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"help-link=
">Help</a>
<span style=3D"color: transparent; font-size: 0; display: none; overflow:=
hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.winehq.org/wine/wine/-/comp=
are/361b82c32e093e4cb9fe4a886289bdebb823a408...97ec2d1486c479631165182da3=
25d6f72d8bddb6 at 1770330318
</span>
</p>
</div>
</body>
</html>
----==_mimepart_698518ce40621_37bc84f9b1416709dd--