Fix for crash in debug mode in macos when reading windows stlye line ending
* remove_cr() utilizes strcpy with overlapped memory
* strcpy with overlapping buffers results in undefined behavior in C
* Entire buffer movement is needlessly expensinve
Signed-off-by:  Ripinder Singh <ripinder.singh@dolby.com>
Ripinder Singh <ripinder.singh@dolby.com>
Loading
Please sign in to comment