cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

MOX-6029 replace unbounded string operations with safer bounded operations

Open harlequin-tech opened this issue 2 years ago • 0 comments

We've (https://moxion.io) recently upgraded the automated code security audits used to check code commits. The audit flagged several unbounded string operations in cJSON (strcpy). This PR replaces them with the safer bounded functions (strncpy) and lets the code pass security audits.

harlequin-tech avatar Apr 07 '22 05:04 harlequin-tech