Resove referencing NULL pointer as message buffer.