In SharedForward we are only dealing with command-line-length strings so we need not worry about integer overflow.