|
From: Oswald B. <osw...@gm...> - 2022-11-14 15:29:09
|
On Mon, Nov 14, 2022 at 02:31:37PM +0100, Marko Bauhardt wrote: >the bsd community was able to help. >http://mail-index.netbsd.org/netbsd-users/2022/11/14/msg029205.html >the arm based strlen function isn't correct implemented. using `configure` and ignore strlen internal function fixes the issue on my side. but there is also a patch in the mail attached, which is the better solution. > so the bug actually is in the custom printf() implementation, only not in my code, but in a system library function it calls. and the crash seen in gdb is the same problem after all, only manifesting in slightly different ways. how soon will netbsd make a fixed release? i would prefer not to apply a workaround. the proposed patch is questionable, as it replaces "unlimited" with a kinda unrelated limit. patching configure to test for correct strnlen behavior would be ok; see how the strftime test is done. |