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

img_mgmt: TLVs were not getting parsed correctly #54

Merged
merged 2 commits into from
Dec 16, 2019

Conversation

vrahane
Copy link
Contributor

@vrahane vrahane commented Dec 14, 2019

  • Protected TLVs should get parsed first and then the regular TLVs
    should get parsed

- Protected TLVs should get parsed first and then the regular TLVs
  should get parsed
Copy link
Contributor

@ccollins476ad ccollins476ad left a comment

Choose a reason for hiding this comment

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

Looks good aside from a few minor comments.

cmd/img_mgmt/src/img_mgmt.c Outdated Show resolved Hide resolved
cmd/img_mgmt/src/img_mgmt.c Outdated Show resolved Hide resolved
- Old images without protected TLVs should not barf
- Add comments explaining the data offsets and little description
  about the way it works
@vrahane
Copy link
Contributor Author

vrahane commented Dec 16, 2019

@ccollins476ad addressed the review comments, can you please take a look again.

Copy link
Contributor

@ccollins476ad ccollins476ad left a comment

Choose a reason for hiding this comment

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

Looks good.

@vrahane vrahane merged commit 92e3431 into apache:master Dec 16, 2019
@vrahane vrahane deleted the fix_tlv_parsing branch January 22, 2020 20:20
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.

None yet

2 participants