Philippe Saint-Pierre 45888dab83 Crash fix in BMessage::ReplaceData()
The call to _CopyForWrite() invalidated the pointer previously assigned.
There was also an unrelated null-pointer derefence situation in the copy constructor.

Fixes #3074 and CID 610886 and CID 610887.
2015-07-01 15:16:31 -04:00
..
2015-07-01 15:16:31 -04:00