-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More code review and cleanup of host.rs module (#1088)
Today I didn't get as much done -- had some errands and a doctor appointment -- but my goal was to get through the residual bits of host.rs and I did that at least. Along the way I removed the `allows` that enabled un-warned dead code and unused variables, and found some stuff: - Two missing error checks on linear-memory "unpack" vector lengths. These don't represent a _major_ vulnerability, but they do allow users to do an unpack to a mismatched vector length, which could hide a bug. A footgun at least. Fixed. - A dead cost type, based on a previous iteration of the secp256k1 interface. Filed #1087 to track removing it. - Some diagnositcs weren't using the names we so meticulously pass down to them. Just throwing them out. Fixed. - There was a bunch of dead code and over-public interfaces. Fixed.
- Loading branch information
Showing
52 changed files
with
182 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.