Skip to content

[avahi] switch to Ubuntu 24.04#14242

Merged
hunsche merged 2 commits intogoogle:masterfrom
evverx:bump
Dec 10, 2025
Merged

[avahi] switch to Ubuntu 24.04#14242
hunsche merged 2 commits intogoogle:masterfrom
evverx:bump

Conversation

@evverx
Copy link
Copy Markdown
Contributor

@evverx evverx commented Nov 4, 2025

On Ubuntu 24.04 glibc comes with strlcpy and it isn't intercepted by
MSan yet (llvm/llvm-project#114377).

avahi/avahi@f8e6e7c
was merged to prevent MSan false positives like
avahi/avahi#787 from popping up.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 4, 2025

evverx has previously contributed to projects/avahi. The previous PR was #11564

@evverx evverx marked this pull request as draft November 4, 2025 14:46
@evverx evverx force-pushed the bump branch 3 times, most recently from b7f6743 to 65a4c26 Compare November 10, 2025 03:25
@evverx evverx force-pushed the bump branch 3 times, most recently from 7f0b818 to 943b1fa Compare December 1, 2025 20:19
@evverx
Copy link
Copy Markdown
Contributor Author

evverx commented Dec 1, 2025

It's waiting for #14382

@evverx
Copy link
Copy Markdown
Contributor Author

evverx commented Dec 2, 2025

It fails under MSan (avahi/avahi#787) because of llvm/llvm-project#114377 so I'm going to hold it back for now.

evverx added a commit to evverx/avahi that referenced this pull request Dec 4, 2025
by reusing the homegrown strlcpy function even when glibc comes with
strlcpy.

On Ubuntu 24.04 glibc comes with strlcpy and it gets picked up and used
instead of the homegrown strlcpy function. The issue is that strlcpy
isn't intercepted by MSan yet
(llvm/llvm-project#114377) so it gets
triggered every time strlen is called with strings copied with strlcpy
for example. It leads to bogus reports like
avahi#787.

avahi will switch from Ubuntu 20.04 to Ubuntu 24.04 in
google/oss-fuzz#14242.
evverx added a commit to avahi/avahi that referenced this pull request Dec 4, 2025
by reusing the homegrown strlcpy function even when glibc comes with
strlcpy.

On Ubuntu 24.04 glibc comes with strlcpy and it gets picked up and used
instead of the homegrown strlcpy function. The issue is that strlcpy
isn't intercepted by MSan yet
(llvm/llvm-project#114377) so it gets
triggered every time strlen is called with strings copied with strlcpy
for example. It leads to bogus reports like
#787.

avahi will switch from Ubuntu 20.04 to Ubuntu 24.04 in
google/oss-fuzz#14242.
@evverx evverx force-pushed the bump branch 2 times, most recently from 03f9fbf to 2094000 Compare December 9, 2025 15:28
@evverx
Copy link
Copy Markdown
Contributor Author

evverx commented Dec 9, 2025

I got around llvm/llvm-project#114377 with avahi/avahi@f8e6e7c. I think it can be merged.

@DavidKorczynski @hunsche can you merge it?

@evverx evverx marked this pull request as ready for review December 9, 2025 15:31
On Ubuntu 24.04 glibc comes with strlcpy and it isn't intercepted by
MSan yet (llvm/llvm-project#114377).

avahi/avahi@f8e6e7c
was merged to prevent MSan false positives like
avahi/avahi#787 from popping up.
@hunsche hunsche merged commit 959e29f into google:master Dec 10, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants