https://github.com/mrichards42/xword/blob/master/puz/Square.cpp#L491
This line doesn't check if len > 0, so if you enter a rebus into a square with an empty solution, it will crash. Note that this bounds check is present a few lines above in HasTextRebus.