#5596: calling BMessage::PrintToStream() on an archived BPicture causes a crash ----------------------------------+----------------------------------------- Reporter: jackburton | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Application Kit | Version: R1/Development Keywords: | Blockedby: Platform: All | Blocking: ----------------------------------+----------------------------------------- Comment(by jackburton): The culprit seems to be the following code in BMessage::_PrintToStream() {{{ case B_STRING_TYPE: printf("string(\"%.*s\", %ld bytes)\n", (int)size, (char *)pointer, (long)size); break; }}} Which is already correct, though: it uses the passed size to print the string. Maybe something becomes corrupt. -- Ticket URL: <http://dev.haiku-os.org/ticket/5596#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.