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

request_response_code checking for GET_SUPPORTED_EVENT_TYPES request message is wrong. #2643

Closed
Zhiqiang520 opened this issue Mar 29, 2024 · 0 comments · Fixed by #2648
Closed
Assignees
Labels
bug Something isn't working

Comments

@Zhiqiang520
Copy link
Contributor

request_response_code checking for GET_SUPPORTED_EVENT_TYPES request message is wrong.

I think SPDM_SUPPORTED_EVENT_TYPES at line 30 should be changed to SPDM_GET_SUPPORTED_EVENT_TYPES.

/* -=[Check Parameters Phase]=- */
LIBSPDM_ASSERT(spdm_request->header.request_response_code == SPDM_SUPPORTED_EVENT_TYPES);

@jyao1 jyao1 added the bug Something isn't working label Mar 29, 2024
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Mar 29, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 1, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 1, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 1, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 1, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 2, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 2, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 2, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 3, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Apr 3, 2024
Fix DMTF#2641.
Fix DMTF#2642.
Fix DMTF#2643.

These fixes include a workaround for DMTF#2645 in https://github.com/DMTF/libspdm/blob/main/unit_test/test_spdm_requester/get_event_types.c. When that issue is fixed the workaround should be reverted.

Signed-off-by: Steven Bellock <[email protected]>
@jyao1 jyao1 closed this as completed in a284716 Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants