voipmonitor/sniffer — pull request #3 by rgagnon24 (2014-05-28 19:16:09+00:00)
Title: String copying boundary checking

Changed most all sprintf() to snprintf() using target char[] for the size_t value of snprintf(). Added zero byte to end of every string after snprintf() as snprintf() may not properly terminate a string with null byte per its documentation.

Shortened some strings to sensible sizes as needed. IE: some do not need 255 or 1024 bytes in order to store 12-20 bytes.