mirror of
https://github.com/OpenEtherCATsociety/SOEM.git
synced 2026-03-24 17:03:11 +08:00
Replace all instances of strcpy() with strncpy() to prevent buffer overflow vulnerabilities. The strcpy() function does not perform bounds checking, which can lead to security issues when copying strings of unknown or excessive length. Problem reported and fix suggested by Jaeyeong Lee. Change-Id: Ide896dbae3bdaf9001287b4d3e387efd355e73bd