#7231: Some issues with handling null-string arguments in printf() -----------------------------+--------------------------------------------- Reporter: mr.Noisy | Owner: axeld Type: bug | Status: closed Priority: normal | Milestone: R1 Component: | Version: R1/alpha2 System/libroot.so | Keywords: libroot.so printf null-string Resolution: invalid | Has a Patch: 0 Blocked By: | Blocking: Platform: All | -----------------------------+--------------------------------------------- Changes (by phoudoin): * status: new => closed * resolution: => invalid Comment: The culprid is gcc, which optimized printf("%s\n", arg) call into puts(arg) See here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15685 Can't be fixed in libroot. -- Ticket URL: <http://dev.haiku-os.org/ticket/7231#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.