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

Key Update Crash on Allocation Failure #4447

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Aug 8, 2024

Description

While running spinquic locally I hit a crash in the keyupdate scenario where write key failed to allocate and was later tried to be read. This accounts for that edge case now.

Testing

Covered by spinquic. Also added a QuicDrill test.

Documentation

N/A

@nibanks nibanks requested a review from a team as a code owner August 8, 2024 16:58
@nibanks nibanks added the Bug: Core A code bug in the Core MsQuic code label Aug 8, 2024
TEST_P(WithDrillInitialPacketTokenArgs, QuicDrillTestKeyUpdateDuringHandshake) {
TestLoggerT<ParamType> Logger("QuicDrillTestKeyUpdateDuringHandshake", GetParam());
if (TestingKernelMode) {
//ASSERT_TRUE(DriverClient.Run(IOCTL_QUIC_RUN_DRILL_VN_PACKET_TOKEN, GetParam().Family));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add kernel support.

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.53%. Comparing base (a6f38aa) to head (a74fea6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4447      +/-   ##
==========================================
- Coverage   86.09%   85.53%   -0.57%     
==========================================
  Files          56       56              
  Lines       15508    15508              
==========================================
- Hits        13351    13264      -87     
- Misses       2157     2244      +87     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Core A code bug in the Core MsQuic code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants