Merge "Change sprintf to snprintf calls."