[Git][wine/wine][master] 6 commits: mmdevapi: Reject wave formats with zero samples per seconds.
"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Sun, 08 Feb 2026 15:26:47 -0600
| Newsgroups | gmane.comp.emulators.wine.cvs |
|---|---|
| Message-ID | <[email protected]> |
----==_mimepart_6988ff9776e45_37bc84f9aec1959489
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Alexandre Julliard pushed to branch master at wine / wine
Commits:
f8470906 by Giovanni Mascellani at 2026-02-08T12:13:11+01:00
mmdevapi: Reject wave formats with zero samples per seconds.
That currently triggers an assertion the PulseAudio library.
- - - - -
af737dab by Giovanni Mascellani at 2026-02-08T12:13:13+01:00
mmdevapi: Reject wave formats with zero block alignment.
The ALSA driver uses it as a divisor.
- - - - -
56a4347a by Giovanni Mascellani at 2026-02-08T12:13:15+01:00
winecoreaudio.drv: Avoid a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
- - - - -
83fe5906 by Giovanni Mascellani at 2026-02-08T12:13:16+01:00
winepulse.drv: Avoid a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
- - - - -
eb759540 by Giovanni Mascellani at 2026-02-08T12:13:17+01:00
winealsa.drv: Avoid a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
- - - - -
6e1b7c1a by Giovanni Mascellani at 2026-02-08T12:13:19+01:00
wineoss.drv: Avoid a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
- - - - -
5 changed files:
- dlls/mmdevapi/client.c
- dlls/winealsa.drv/alsa.c
- dlls/winecoreaudio.drv/coreaudio.c
- dlls/wineoss.drv/oss.c
- dlls/winepulse.drv/pulse.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/87ba10bb3aa8ea636dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/87ba10bb3aa8ea636dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061
You're receiving this email because of your account on gitlab.winehq.org.
----==_mimepart_6988ff9776e45_37bc84f9aec1959489
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/f8470906c2540d184a65989c8f0722b9da3d852a">f8470906</a>=
</strong>
<div>
<span> by Giovanni Mascellani </span> <i> at 2026-02-08T12:13:11+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;'>mmdevapi: Reject wa=
ve formats with zero samples per seconds.
That currently triggers an assertion the PulseAudio library.
</pre>
</li>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/af737dab8d9b455af4751e2f9a5cd6785dd82dd6">af737dab</a>=
</strong>
<div>
<span> by Giovanni Mascellani </span> <i> at 2026-02-08T12:13:13+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;'>mmdevapi: Reject wa=
ve formats with zero block alignment.
The ALSA driver uses it as a divisor.
</pre>
</li>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/56a4347acac16b1445a55719e1fddd9c6f9581b5">56a4347a</a>=
</strong>
<div>
<span> by Giovanni Mascellani </span> <i> at 2026-02-08T12:13:15+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;'>winecoreaudio.drv: =
Avoid a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
</pre>
</li>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/83fe5906f04d61dcc7074d514fd3f27dd06a85d3">83fe5906</a>=
</strong>
<div>
<span> by Giovanni Mascellani </span> <i> at 2026-02-08T12:13:16+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;'>winepulse.drv: Avoi=
d a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
</pre>
</li>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/eb75954029fcf269aefd3ca5d726706ac3b97c1c">eb759540</a>=
</strong>
<div>
<span> by Giovanni Mascellani </span> <i> at 2026-02-08T12:13:17+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;'>winealsa.drv: Avoid=
a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
</pre>
</li>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/6e1b7c1a0897bfff51c372bac8b408f473411061">6e1b7c1a</a>=
</strong>
<div>
<span> by Giovanni Mascellani </span> <i> at 2026-02-08T12:13:19+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;'>wineoss.drv: Avoid =
a division by zero.
This can happen if nSamplesPerSec is too small, and it leads to
a crash.
</pre>
</li>
</ul>
<h4 style=3D"margin-top: 10px; margin-bottom: 10px;">
5 changed files:
</h4>
<ul>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/compare/87ba10bb3aa8ea63=
6dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061#99913=
733944fc35298a259705e992a42b21541f5">
dlls/mmdevapi/client.c
</a>
</li>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/compare/87ba10bb3aa8ea63=
6dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061#fe57e=
8f6c5922cbec0bd8abda9ed5f8e82a50895">
dlls/winealsa.drv/alsa.c
</a>
</li>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/compare/87ba10bb3aa8ea63=
6dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061#8db72=
7d0ed9bb1d6b548671bccf11fe7350c496b">
dlls/winecoreaudio.drv/coreaudio.c
</a>
</li>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/compare/87ba10bb3aa8ea63=
6dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061#c5685=
ace4d914beb2f601e7b880658b8ebc4d4ad">
dlls/wineoss.drv/oss.c
</a>
</li>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/compare/87ba10bb3aa8ea63=
6dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061#152f5=
af0ef9650fb7529b3638869ab8c7c4ff082">
dlls/winepulse.drv/pulse.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/87ba10bb3aa8ea63=
6dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8b408f473411061">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/87ba10bb3aa8ea636dff5c2030b376da1627910a...6e1b7c1a0897bfff51c372bac8=
b408f473411061 at 1770586007
</span>
</p>
</div>
</body>
</html>
----==_mimepart_6988ff9776e45_37bc84f9aec1959489--