NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-sparc64/61087: NetBSD 11.1 RELEASE kernel fails to build for sparc64 with KUBSAN enabled
The following reply was made to PR port-sparc64/61087; it has been noted by GNATS.
From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-sparc64/61087: NetBSD 11.1 RELEASE kernel fails to build
for sparc64 with KUBSAN enabled
Date: Tue, 1 Dec 2026 01:43:35 +0300
So, I think the fix for this that will pacify ubsan is to use unsigned
int instead of int for the arguments of wsdisplay_emulops (negative
row and column numbers are highly unusual, as far as I can tell).
Unfortunately that means a bit of churn all over the kernel tree, as
you need to change all the implementations and I just don't have any
free bandwidth for this atm... Any takers?
Compare
https://mail-index.netbsd.org/source-changes/2026/11/30/msg165468.html
for a similar fix to a similar problem ("an aynredenish iz erger vi a
krenk").
-uwe
Home |
Main Index |
Thread Index |
Old Index