Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: invalid conn id length #3532

Closed
marten-seemann opened this issue Aug 29, 2022 · 0 comments · Fixed by #3533
Closed

panic: invalid conn id length #3532

marten-seemann opened this issue Aug 29, 2022 · 0 comments · Fixed by #3533
Labels
Milestone

Comments

@marten-seemann
Copy link
Member

This was introduced by #3529.

MITM test with QUIC version v2 unsuccessful attacks corrupting packets 
  downloads a message when packet are corrupted towards the server
  /home/circleci/project/integrationtests/self/mitm_test.go:246
panic: invalid conn id length

goroutine 46470 [running]:
github.com/lucas-clemente/quic-go/internal/protocol.ParseConnectionID(...)
	/home/circleci/project/internal/protocol/connection_id.go:52
github.com/lucas-clemente/quic-go/internal/wire.ParseConnectionID({0xc004158600?, 0x22c6df02e8?, 0x0?}, 0x56579f?)
	/home/circleci/project/internal/wire/header.go:35 +0x22f
github.com/lucas-clemente/quic-go.(*packetHandlerMap).handlePacket(0xc007b67d90, 0xc004409f80)
	/home/circleci/project/packet_handler_map.go:380 +0x65
github.com/lucas-clemente/quic-go.(*packetHandlerMap).listen(0xc007b67d90)
	/home/circleci/project/packet_handler_map.go:375 +0xc5
created by github.com/lucas-clemente/quic-go.newPacketHandlerMap
	/home/circleci/project/packet_handler_map.go:140 +0x385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant