Fixed Unintentional Truncation of Lines
Fixed Unintentional Truncation of Lines

As explained by the Software Engineering Institute FIO20-C there is a risk to assuming a new line character is read by fgets() which can result in data truncation. Therefore implemented compliant solution as indicated on https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=3226

toulousetherobot/supplementary-motor-cortex,toulousetherobot/supplementary-motor-cortex