-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
h264: fix memory filling up in case of malicious SPS (#153)
When CpbCntMinus1 is set to unreasonably high values, the RAM fills up.
- Loading branch information
Showing
6 changed files
with
14 additions
and
0 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
2 changes: 2 additions & 0 deletions
2
pkg/codecs/h264/testdata/fuzz/FuzzSPSUnmarshal/65723675a245f75c
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
go test fuzz v1 | ||
[]byte("'z00]") |
2 changes: 2 additions & 0 deletions
2
pkg/codecs/h264/testdata/fuzz/FuzzSPSUnmarshal/c5a5368bc88a516b
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
go test fuzz v1 | ||
[]byte("gd\x00\f\xac;l\xb0KB\x00\x00\x03\x02\x00\x00\x03\x00=\b") |
2 changes: 2 additions & 0 deletions
2
pkg/codecs/h264/testdata/fuzz/FuzzSPSUnmarshal/cb118e6139f5f66d
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
go test fuzz v1 | ||
[]byte("gd\x00\f\xac;M\xb0KB\x00\x00\x00\x02\x00\x00\x03\x00=\b") |
2 changes: 2 additions & 0 deletions
2
pkg/codecs/h264/testdata/fuzz/FuzzSPSUnmarshal/d4c5133ac78913be
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
go test fuzz v1 | ||
[]byte("'z001000") |
2 changes: 2 additions & 0 deletions
2
pkg/codecs/h264/testdata/fuzz/FuzzSPSUnmarshal/fb13f5b503d117ae
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
go test fuzz v1 | ||
[]byte("gd\x00\x1f\xac\xd9@P\x05\xbb\x01l@\x00\x00\x03\x00\x80\x00\x00\x1e\a\x8c\x18\xcb") |