Skip to content

netdoc: Remove a TODO hs comment.

Nick Mathewson requested to merge nickm/arti:hsdir_remove_comment into main

It said to check whether C enforces an absence of extraneous bytes at the end of the link specifiers. It does, in hs_desc.c:decode_link_specifiers(), where it says:

  if (link_specifier_list_parse(&specs, decoded,
                                (size_t) decoded_len) < decoded_len) {
    goto err;
  }

The comparison with "decoded_len" checks whether all the bytes were decoded.

Merge request reports