Skip to content

Commit

Permalink
Merge pull request #5 from algorand/relstable3.11.3
Browse files Browse the repository at this point in the history
go-algorand v3.11.3-stable
  • Loading branch information
onetechnical authored Nov 12, 2022
2 parents 99b37ac + 8151c81 commit 6869ccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildnumber.dat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2
3
2 changes: 1 addition & 1 deletion network/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func UnmarshallTopics(buffer []byte) (ts Topics, err error) {

// read the data length
dataLen, nr := binary.Uvarint(buffer[idx:])
if nr <= 0 {
if nr <= 0 || dataLen > maxMessageLength {
return nil, fmt.Errorf("UnmarshallTopics: could not read the data length")
}
idx += nr
Expand Down

0 comments on commit 6869ccb

Please sign in to comment.