Admin message

WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.

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 Nov 06, 2025 by Vladimir Malenovsky
Assignee Loading
Time tracking Loading