[#2212] CID25611:

Corrected 'free' to 'delete'
[#2212] CID26062:

Removed null check on literal array
[#2212] CID43795:

Removed use strncat, which can overrun arrays
[#2222] refactored makeEscapedPath for simplicity
[#2212] CID37553:

Removed unsafe strncat
[#2212] CID26215:

Changed sprintf to the safer snprintf
[#2212] CID26119:

changed sprintf to the safer snprintf
[#2212] CID26068:

changed sprintf to the safer snprintf
[#2212] CID25927:

Changed strcpy to the safer snprintf
[#2212] CID25851:

changed strcpy to the safer snprintf
[#2212] CID25898:

Changed strcpy to snprintf
[#2212] CID25819:

Check for case where myDim is negative and return
[#858] replaced tabs with spaces, fixed a typo
[#2212] CID25818:

Added null checks to remove the possibility of null dereference