BASOP porting MR 411 - Port MR 2293 from float - Fix for crash in debug mode in macos when reading windows style line ending
Original merge request in float repo: ivas-codec-pc/ivas-codec!2293 (merged)
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 expensive
- Fix ensures a copy with a skip for carriage returns
Edited by Vladimir Malenovsky