Skip to content

Fix variable shadowing in new_path_with_id#3

Open
Aperence wants to merge 1 commit intoqdeconinck:multipath-ietf-122-fips-okfrom
Aperence:multipath-ietf-122-fips-ok-pr
Open

Fix variable shadowing in new_path_with_id#3
Aperence wants to merge 1 commit intoqdeconinck:multipath-ietf-122-fips-okfrom
Aperence:multipath-ietf-122-fips-ok-pr

Conversation

@Aperence
Copy link
Copy Markdown

In the current version, whenever a scid is None when calling new_with_path_id, the reset token associated to a dcid is also set to None, even if it had a value before. This leads to errors in the verification of the CID if a NEW_PATH_CONNECTION_ID is retransmitted (e.g.: because it was lost), as reset tokens differs.

This patch fixes this issue by deleting the variable shadowing.

In the current version, whenever a scid is None when
calling new_with_path_id, the reset token associated to a
dcid is also set to None, even if it had a value before.
This leads to errors in the verification of the CID
if a NEW_PATH_CONNECTION_ID is retransmitted (e.g.: because
it was lost), as reset tokens differs.

This patch fixes this issue by deleting the variable shadowing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant