ensure hostname_offset is initialized to '0' to indicate null hostname (#8162)

2 files changed