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

Validate the range in map_async. #2876

Merged
merged 2 commits into from
Jul 13, 2022
Merged

Conversation

nical
Copy link
Contributor

@nical nical commented Jul 13, 2022

Checklist

  • Run cargo clippy.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Description

buffer.map_async should check that the requested range fits in the buffer.

Testing

None.

@nical nical force-pushed the validate-map-range branch from 26f89e5 to 3570886 Compare July 13, 2022 12:55
@cwfitzgerald cwfitzgerald merged commit af345cd into gfx-rs:master Jul 13, 2022
@nical nical deleted the validate-map-range branch July 13, 2022 17:44
cwfitzgerald pushed a commit to cwfitzgerald/wgpu that referenced this pull request Jul 14, 2022
* Validate the range in map_async.

* Add an entry in the changelog.
cwfitzgerald pushed a commit that referenced this pull request Jul 14, 2022
* Validate the range in map_async.

* Add an entry in the changelog.
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