Fixed #4991: False Positive - Dangerous usage of 'arr' (not null-terminated)