Fix bug 697137: off by one in string length calculation.
Fix bug 697137: off by one in string length calculation.

We were not allocating space for the terminating zero byte.

ccxvii/mujs,ccxvii/mujs,ccxvii/mujs,ccxvii/mujs