The third argument to set_offsets() was only used in dns_name_fromregion() and not really needed. We can remove the third argument and then manually check whether the last label is root label.
The third argument to set_offsets() was only used in dns_name_fromregion() and not really needed. We can remove the third argument and then manually check whether the last label is root label.