Fix potential fault where -L/-R/-D could accept a string too long for our