Merge "Add logic to detect buffer overflow for snprintf" into tizen