Problem Statement
When sync to latest libspdm in spdm-emu (DMTF/spdm-emu#447)
There is segment fault in spdm_responder_emu during generate CERTIFICATE response. (https://github.com/DMTF/spdm-emu/actions/runs/19886254234/job/56994032221?pr=449)
Detail
Created several test PRs to isolate the change causing this failure:
This should be the commit introduce the issue: 703651f