#7231: Some issues with handling null-string arguments in printf() -------------------------------------------+------------------------ Reporter: mr.Noisy | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/libroot.so | Version: R1/alpha2 Keywords: libroot.so printf null-char | Blocked By: Has a Patch: 0 | Platform: All Blocking: | -------------------------------------------+------------------------ The program {{{#!cpp #include <cstdio> int main() { char* p = 0; printf("%s \n", p); printf("%s\n", p); return 0; } }}} will crash on second printf. Haiku r40200 GCC4 Hybrid -- Ticket URL: <http://dev.haiku-os.org/ticket/7231> Haiku <http://dev.haiku-os.org> Haiku - the operating system.