a42a765cc3
The cmd parameter (type int) has been logged using the %s format specifier causing an access violation. Fixed by using get_packet_type to convert cmd to a string.