Commit 39e70dd
OSS: [WebRTC] Heap-buffer-overflow in av1_get_one_pass_rt_params - Heap Buffer Overflow in AV1 Video Encoder
rdar://106645234
Reviewed by Eric Carlson.
Cherry-picking of https://aomedia.googlesource.com/aom/+/bee1caded272127a6d6b70ac79479083d183d5d0%5E%21/#F0.
I had to manually apply the patch since it does not apply cleanly.
* Source/ThirdParty/libwebrtc/Source/third_party/libaom/source/libaom/av1/encoder/ratectrl.c:
(av1_rc_postencode_update):
(av1_rc_postencode_update_drop_frame):
(av1_get_one_pass_rt_params):
* Source/ThirdParty/libwebrtc/Source/third_party/libaom/source/libaom/av1/encoder/ratectrl.h:
Originally-landed-as: 259548.439@safari-7615-branch (4a5ecd489674). rdar://106645234
Canonical link: https://commits.webkit.org/264347@main1 parent 91e9b2e commit 39e70dd
2 files changed
Lines changed: 16 additions & 2 deletions
File tree
- Source/ThirdParty/libwebrtc/Source/third_party/libaom/source/libaom/av1/encoder
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2136 | 2136 | | |
2137 | 2137 | | |
2138 | 2138 | | |
| 2139 | + | |
| 2140 | + | |
2139 | 2141 | | |
2140 | 2142 | | |
2141 | 2143 | | |
| |||
2152 | 2154 | | |
2153 | 2155 | | |
2154 | 2156 | | |
| 2157 | + | |
| 2158 | + | |
2155 | 2159 | | |
2156 | 2160 | | |
2157 | 2161 | | |
| |||
3096 | 3100 | | |
3097 | 3101 | | |
3098 | 3102 | | |
3099 | | - | |
3100 | | - | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
3101 | 3112 | | |
3102 | 3113 | | |
3103 | 3114 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
| |||
0 commit comments