Skip to content

fix backwards logic in canDropPrivs()#282

Closed
mrnerdhair wants to merge 3 commits intomasterfrom
fix-logic-bug
Closed

fix backwards logic in canDropPrivs()#282
mrnerdhair wants to merge 3 commits intomasterfrom
fix-logic-bug

Conversation

@mrnerdhair
Copy link
Copy Markdown
Collaborator

@mrnerdhair mrnerdhair commented Jul 12, 2021

0527170 contained an extra ! which, when using bootloader v2.0.0, breaks unsigned firmware and prevents signed builds from dropping their privs.

This error made it past our testing regime because it didn't trigger on our normal testing devices; props to @greatwolf for bringing it to our attention as #281.

@mrnerdhair mrnerdhair requested a review from markrypto July 12, 2021 18:23
BitHighlander
BitHighlander previously approved these changes Jul 12, 2021
Copy link
Copy Markdown
Collaborator

@BitHighlander BitHighlander left a comment

Choose a reason for hiding this comment

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

🤦

markrypto
markrypto previously approved these changes Jul 12, 2021
@mrnerdhair
Copy link
Copy Markdown
Collaborator Author

@markrypto (please make sure to reset master to 04ef714 instead of adding a merge commit, since the v7.1.6 binary has that commit hash embedded)

mvpratt
mvpratt previously approved these changes Jul 12, 2021
@mrnerdhair mrnerdhair requested a review from markrypto July 12, 2021 23:48
@mrnerdhair mrnerdhair dismissed markrypto’s stale review July 12, 2021 23:48

added fix for #283, need re-review

@mrnerdhair mrnerdhair requested a review from mvpratt July 12, 2021 23:49
@mrnerdhair mrnerdhair dismissed mvpratt’s stale review July 12, 2021 23:49

added fix for #283, need re-review

@mrnerdhair mrnerdhair requested a review from BitHighlander July 12, 2021 23:49
@mrnerdhair mrnerdhair dismissed BitHighlander’s stale review July 12, 2021 23:49

added fix for #283, need re-review

@mrnerdhair mrnerdhair linked an issue Jul 12, 2021 that may be closed by this pull request
@markrypto markrypto closed this Jul 13, 2021
@markrypto markrypto reopened this Jul 13, 2021
@markrypto markrypto closed this Jul 13, 2021
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.

Reproducing v6.2.2 - v7.1.7 requires a case-insensitive FS [CRITICAL ISSUE] Building latest 5ab76aa results in a broken firmware binary.

4 participants