Skip to content

Conversation

@Patater
Copy link
Contributor

@Patater Patater commented Mar 3, 2016

@AlessandroA
Copy link
Contributor

LGTM

@AlessandroA
Copy link
Contributor

Is this tested? If so I'll merge.

@Patater Patater force-pushed the namespace-bytes-copied branch from 01fa2c1 to 70623cd Compare March 7, 2016 09:22
Patater added 2 commits March 7, 2016 09:24
Box namespaces should always be null-terminated, but just in case they
aren't, we will halt instead of returning an unterminated string.
Previously, vmpu_box_namespace_from_id would not include the
terminating-null in the bytes copied count it would return. We now include
the terminating-null in the bytes copied count.
@Patater Patater force-pushed the namespace-bytes-copied branch from 70623cd to 57de15f Compare March 7, 2016 09:26
@Patater
Copy link
Contributor Author

Patater commented Mar 7, 2016

Yes, tested with the current version of example-uvisor-box-id which expects the terminating null to be included in the number of bytes.

AlessandroA added a commit that referenced this pull request Mar 7, 2016
Return the proper number of bytes copied when reading box namespaces
@AlessandroA AlessandroA merged commit f344277 into ARMmbed:master Mar 7, 2016
@Patater Patater deleted the namespace-bytes-copied branch March 7, 2016 09:36
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.

2 participants