Skip to content

Address CI UBSan timeouts - #1114

Merged
ejohnstown merged 1 commit into
wolfSSL:masterfrom
padelsbach:fix-ubsan-test-hang
Jul 21, 2026
Merged

Address CI UBSan timeouts#1114
ejohnstown merged 1 commit into
wolfSSL:masterfrom
padelsbach:fix-ubsan-test-hang

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

UBSan test was timing out in CI. AI speculation is that this message was firing:

src/wolfscp.c:2379:29: runtime error: null pointer passed as argument 1, which is declared to never be null

and since UBSan builds with -fno-sanitize-recover=all, the process dies and hangs the test.

Changelog:

  1. ensure the write is not called with null/zero size
  2. add timeout in CI and scp.test so there is an actual exit (and logs saved) rather than a hang/cancellation of the job

@padelsbach
padelsbach force-pushed the fix-ubsan-test-hang branch from b035a81 to d158d97 Compare July 21, 2026 21:59
@ejohnstown
ejohnstown merged commit d7e99dc into wolfSSL:master Jul 21, 2026
141 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants