Also, while sandboxing may be designed to prevent this, Messages is probably also designed not to crash on link sharing.
(Or am I wrong? I'm not a professional programmer. I'm just reasoning from common sense.)
If software written in C/C++ crashes and it's not because of a null pointer dereference specifically, then it's realistic to worry about whether it might be because of an exploitable bug (like a buffer overflow, a double-free, etc). One common way for people to try to find exploitable bugs is to script a program to re-run with random input data to figure out which inputs crash it, and then they debug the crashes to see if they're caused by exploitable bugs.
Edit: spelling and grammar