
The msg[] array is defined as 50 bytes long, but then the snprintf is protected at 75 bytes long, which is incorrectly 25 bytes longer than the underlying array. To correct this, define a new macro MSG_BUFFER_SIZE and use it in both places: * defining msg[] * writing to msg[] with snprintf()