Limit recursion when reading name labels from other packet data
authorMatt Corallo <git@bluematt.me>
Sun, 11 Feb 2024 20:41:28 +0000 (20:41 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 11 Feb 2024 20:41:28 +0000 (20:41 +0000)
commit82e51554f05ba47826f1ee9afdce3add1e8b1457
tree6744201128ca02af2399e9e21f04eae4305997e6
parent1bc1a6325dce9c48f5610edccb91a38a1abb3084
Limit recursion when reading name labels from other packet data

This fixes an infinite recursion issue where a label can refer to
itself and recurse until the stack ie exhausted.
src/ser.rs