You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same commit of msquic builds on Ubuntu 22.04 without issue last I checked (GCC version not at hand), so appears to be due to a toolchain change. Not sure if it's a false positive or legitimate issue, there are reports of stringop-overflow false positives in newer versions of GCC.
Affected OS
Windows
Linux
macOS
Other (specify below)
Additional OS information
Ubuntu 23.04 gcc 12.3.0
MsQuic version
main
Steps taken to reproduce bug
./scripts/build.ps1 -Config Release -Clean
Observe build failure
Expected behavior
The build succeeds
Actual outcome
The build fails due to:
/home/jwhited/msquic/src/inc/msquichelper.h:268:28: error: writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
268 | HexString[i*2 + 1] = HEX_TO_CHAR(Buffer[i] & 0xf);
Additional details
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Building @ HEAD on Ubuntu 23.04 w/gcc 12.3.0 fails with:
Ignoring stringop-overflow enables the build to succeed:
The same commit of msquic builds on Ubuntu 22.04 without issue last I checked (GCC version not at hand), so appears to be due to a toolchain change. Not sure if it's a false positive or legitimate issue, there are reports of stringop-overflow false positives in newer versions of GCC.
Affected OS
Additional OS information
Ubuntu 23.04 gcc 12.3.0
MsQuic version
main
Steps taken to reproduce bug
./scripts/build.ps1 -Config Release -Clean
Expected behavior
The build succeeds
Actual outcome
The build fails due to:
Additional details
No response
The text was updated successfully, but these errors were encountered: