On Fri, Oct 04, 2024 at 01:37:44PM +0200, Alexandre Ghiti wrote: > I have a question though: should we do something about the following > warnings? Is there something wrong somewhere? > > Wanted to write 8 to a 0-sized destination: oldptr at > arch/riscv/errata/thead/errata.c:185 > Wanted to write 28 to a 0-sized destination: oldptr at > arch/riscv/errata/thead/errata.c:185
I think it's a problem for fortify, not for the errata code. I'm still looking into it -- they are unexpected warnings given the types involved. I haven't been able to reproduce it in a stand-alone context yet. -- Kees Cook
