Fixed core dump issue. Non zero terminated C strings were the culprit.