wolfssl: fix broken build#63
Open
tc-agent wants to merge 2 commits into
Open
Conversation
Fuzzing Coverage ReportTested: project
Δ = (after − before) / before, to accommodate that denominators may change. "new" when before is 0; "deleted" when after is 0. |
tc-agent
force-pushed
the
master
branch
4 times, most recently
from
May 27, 2026 06:33
6125235 to
e512e7e
Compare
tc-agent
force-pushed
the
wolfssl-fix-broken-build
branch
from
May 27, 2026 07:08
6a3f9b5 to
6f3ea25
Compare
tc-agent
force-pushed
the
master
branch
5 times, most recently
from
May 27, 2026 16:16
b5fd10c to
712a52f
Compare
tc-agent
force-pushed
the
wolfssl-fix-broken-build
branch
from
May 27, 2026 21:47
6f3ea25 to
8b35c90
Compare
tc-agent
force-pushed
the
master
branch
6 times, most recently
from
May 28, 2026 18:05
af7f9a7 to
806b281
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The wolfssl OSS-Fuzz build has been failing since the 2026-05-19 build run; the last successful build was 2026-05-18 (build history: https://oss-fuzz-build-logs.storage.googleapis.com/index.html#wolfssl).
Root cause
wolfSSL/wolfssl#10460, merged 2026-05-18, changed the public wolfCrypt MD2 and MD4 API from returning
voidto returningint(wc_InitMd2/wc_Md2Update/wc_Md2Finaland the MD4 equivalents).The Cryptofuzz wolfCrypt module instantiates its
Digest<>wrappers for MD2 and MD4 with theInit_Void/DigestUpdate_Void/DigestFinalize_Voidtemplate variants. After the signature change those template arguments no longer match the wolfCrypt function pointers, so compilation fails:Fix
build.shpatches the MD2/MD4Digest<>instantiations in the Cryptofuzz checkout to use the*_Inttemplate variants, which Cryptofuzz already provides and uses for the other int-returning digest APIs (MD5, SHA-*, RIPEMD, …). The patch is applied withsed, consistent with the Cryptofuzz patchingbuild.shalready performs.With this change the build compiles cleanly and produces all 22 fuzz targets.
References