Check if num is 0 before trying to malloc memory. Otherwise for client hellos without...