You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subtype strings (e.g., "_printer" in the example above) may be constructed using arbitrary 8-bit data values.
(emphasis added for clarity of this issue's point).
Arbitrary 8-bit data values definitely include \0 bytes. However, they are obviously not supported by the current API. To support them would require, inter alia, a change of mdns_subtype_item_t to contain a length field, e.g.:
As there is currently a refactoring of the mDNS component going on in PR #776, it is probably an excellent moment to fix that issue.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
mdns component does not support subtypes containing \0 bytes
mdns component does not support subtypes containing \0 bytes (IDFGH-15165)
Apr 23, 2025
Answers checklist.
General issue report
RFC 6763: DNS-Based Service Discovery specifies in section 7.1 Selective Instance Enumeration (Subtypes) (https://www.rfc-editor.org/rfc/rfc6763.html#section-7.1):
(emphasis added for clarity of this issue's point).
Arbitrary 8-bit data values definitely include
\0
bytes. However, they are obviously not supported by the current API. To support them would require, inter alia, a change ofmdns_subtype_item_t
to contain a length field, e.g.:As there is currently a refactoring of the mDNS component going on in PR #776, it is probably an excellent moment to fix that issue.
The text was updated successfully, but these errors were encountered: