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

Revert the change to Arc4RandomUniformVariantRNG and silence SwiftLint warning #510

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

ayoy
Copy link
Collaborator

@ayoy ayoy commented Apr 6, 2022

Task/Issue URL: N/A
Tech Design URL:
CC: @tomasstrba

Description:
It turns out that upperBound parameter passed to the function in question is always (?) 0,
in which case it crashed with an invalid range (0..<0). This needs further investigation as we agreed.

Steps to test this PR:

  1. Run ./clean-app.sh debug
  2. Run the app
  3. Verify that it does not crash
  4. Verify that SwiftLint does not produce a warning around the changed code.

Testing checklist:

  • Test with Release configuration

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

Copy link
Contributor

@tomasstrba tomasstrba left a comment

Choose a reason for hiding this comment

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

LGTM! 👍 Thanks for putting this together so quickly

@tomasstrba tomasstrba merged commit 60139d0 into develop Apr 6, 2022
@tomasstrba tomasstrba deleted the dominik/atb-rng-fix branch April 6, 2022 16:21
tomasstrba pushed a commit that referenced this pull request Apr 6, 2022
…t warning (#510)

Description:
It turns out that upperBound parameter passed to the function in question is always (?) 0,
in which case it crashed with an invalid range (0..<0). This needs further investigation as we agreed.
samsymons added a commit that referenced this pull request Apr 10, 2022
* develop:
  Fill Add Bookmark modal view with current tab website (#515)
  Fix reloading data in BookmarkListViewController (#514)
  use the page url in the tracker object rather than the current web view url (#509)
  Version 0.22.2
  Revert the change to Arc4RandomUniformVariantRNG and silence SwiftLint warning (#510)
  Revert the change to Arc4RandomUniformVariantRNG and silence SwiftLint warning (#510)
  Version 0.22.1
  Improve Chromium Logins import (#501)
  Revert "New autoconsent rules and move tab cleanup out of onCommitted (#489)" (#502)
  Add fallback icons for password managers (#504)
  Make SwiftLint happy (#508)
  Default to Chrome or Safari when importing Logins and Bookmarks (#503)
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