intel / intel/tee-io-validator

[Minor] stream_id takes parameter in decimal format only. It would be nice to support hex format as well

Open
#326 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
41
Forks
18
Avg merge
2d 4h
Merged PRs (30d)
1

Description

// stream_id
sprintf(entry_name, "stream_id");
if (!GetDecimalUint32FromDataFile(context, (uint8_t *)section_name, (uint8_t *)entry_name, &data32))
{
TEEIO_DEBUG((TEEIO_DEBUG_ERROR, "[%s] stream_id is missing.\n", section_name));
}
if(data32 > MAX_STREAM_ID) {
TEEIO_DEBUG((TEEIO_DEBUG_ERROR, "[%s] stream_id(%d) shall be in [0, 255].\n", section_name, data32));
}
topology->stream_id = data32;

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.