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

fix bugs in GetLocationByMap #78

Closed
wants to merge 1 commit into from

Conversation

abulimov
Copy link
Contributor

Summary:
Fix couple of bugs with location unpacking:

  • GetLocationByMap doesn't handle multi-value unpacking
  • Added more slice bound checks to harden the code.

Reviewed By: deathowl

Differential Revision: D62937783

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62937783

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 25.40%. Comparing base (86af19b) to head (05ef807).
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #78       +/-   ##
===========================================
- Coverage   59.47%   25.40%   -34.07%     
===========================================
  Files          90       19       -71     
  Lines        8690     1618     -7072     
===========================================
- Hits         5168      411     -4757     
+ Misses       3204     1166     -2038     
+ Partials      318       41      -277     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62937783

abulimov added a commit to abulimov/dns that referenced this pull request Sep 18, 2024
Summary:
Pull Request resolved: facebook#78

Fix couple of bugs with location unpacking:
* `GetLocationByMap` doesn't handle multi-value unpacking
* Added more slice bound checks to harden the code.

Reviewed By: leoleovich, deathowl

Differential Revision: D62937783
Summary:
Pull Request resolved: facebook#78

Fix couple of bugs with location unpacking:
* `GetLocationByMap` doesn't handle multi-value unpacking
* Added more slice bound checks to harden the code.

Reviewed By: leoleovich, deathowl

Differential Revision: D62937783
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62937783

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6c2886e.

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

Successfully merging this pull request may close these issues.

3 participants