Skip to content

Commit

Permalink
Merge pull request #2874 from bnb-chain/release_v1.5.4-beta
Browse files Browse the repository at this point in the history
merge v1.5.4-beta back to develop branch
  • Loading branch information
zzzckck authored Feb 5, 2025
2 parents 4376943 + a58f0fc commit 9330440
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## v1.5.4
NA

## v1.5.3
### BUGFIX
* [\#2827](https://github.com/bnb-chain/bsc/pull/2827) triedb/pathdb: fix nil field for stateSet
Expand Down
3 changes: 3 additions & 0 deletions crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ func UnmarshalPubkey(pub []byte) (*ecdsa.PublicKey, error) {
if x == nil {
return nil, errInvalidPubkey
}
if !S256().IsOnCurve(x, y) {
return nil, errInvalidPubkey
}
return &ecdsa.PublicKey{Curve: S256(), X: x, Y: y}, nil
}

Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ package version
const (
Major = 1 // Major version component of the current release
Minor = 5 // Minor version component of the current release
Patch = 3 // Patch version component of the current release
Patch = 4 // Patch version component of the current release
Meta = "" // Version metadata to append to the version string
)

0 comments on commit 9330440

Please sign in to comment.