add a limit for non-null-terminated-strings