Skip to content

Conversation

@natecook1000
Copy link
Member

This precondition checks to make sure that the content-providing collection isn't larger than the allocated buffer, but was preventing using a buffer that is the exact same size as the collection.

@natecook1000 natecook1000 added the standard library Area: Standard library umbrella label Oct 25, 2023
@natecook1000 natecook1000 requested a review from a team as a code owner October 25, 2023 22:10
@natecook1000
Copy link
Member Author

@swift-ci Please smoke test

Copy link
Contributor

@glessard glessard left a comment

Choose a reason for hiding this comment

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

Thanks for catching this, and sorry for the trouble…

This precondition checks to make sure that the content-providing
collection isn't larger than the allocated buffer, but was preventing
using a buffer that is the exact same size as the collection.
@natecook1000 natecook1000 force-pushed the umrbp-initmemory-limit branch from 4a6c196 to 2c244b9 Compare October 25, 2023 22:17
@natecook1000
Copy link
Member Author

@swift-ci Please smoke test

@glessard
Copy link
Contributor

@swift-ci please test windows platform

@stephentyrone
Copy link
Contributor

Do we need this on 5.10?

@glessard
Copy link
Contributor

Yes, it's a simple bug fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

standard library Area: Standard library umbrella

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants