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
{{ message }}
Repository navigation
fix(hip): from_data raises AttributeError, alias reads _info before it is set #1184
Describe the bug HIP.from_data(info) raises AttributeError: 'HIP' object has no attribute '_info'. The alias property (pcapkit/protocols/internet/hip.py:475) reads self._info.version before _info is set, and _decode_next_layer (internet.py:236) reaches it during the rebuild.
To Reproduce
Parse frame #99 of options-internet.pcap, take its HIP layer's info, and call HIP.from_data on it. This reproduces on origin/main (20438e3ec).
Impact
Once #1182 lands, IPv6.from_data rebuilds the extension chain by calling each header's from_data. The 48–49 IPv6>HIP capture frames then raise this error instead of returning wrong bytes.
Found by the #1182 worker. The #1182 cross-review reproduced it independently.
Activity
JarryShaw commentedon Oct 7, 2026
A worker is on it now.
fix(hip): from_data no longer reads alias before _info is set (#1184) (…