Whether shell is memory-safe is completely irrelevant as the language has more significant safety issues with regards to quoting, eval and such.
And second reason why it is irrelevant is that the traditional bunch-of-shell-scripts init system does not process any kind of untrusted input.