Commit efa0107
av1/encoder/encoder_utils.c & a/av1/common/resize: Stack-buffer-overflow in aom_scaled_2d_ssse3
https://bugs.webkit.org/show_bug.cgi?id=253498
rdar://106063201
Reviewed by Eric Carlson.
Cherry-pick upstream change from https://aomedia.googlesource.com/aom/+/6318378f833b2a0d8e67fb3d12bcdc4e1c26b0e6%5E%21/#F2.
* Source/ThirdParty/libwebrtc/Source/third_party/libaom/source/libaom/av1/common/resize.c:
(av1_realloc_and_scale_if_required):
* Source/ThirdParty/libwebrtc/Source/third_party/libaom/source/libaom/av1/common/resize.h:
* Source/ThirdParty/libwebrtc/Source/third_party/libaom/source/libaom/av1/encoder/encoder_utils.c:
(av1_scale_references):
Originally-landed-as: 259548.381@safari-7615-branch (1de648970cbf). rdar://106063201
Canonical link: https://commits.webkit.org/264327@main1 parent 9c4599a commit efa0107
3 files changed
Lines changed: 31 additions & 4 deletions
File tree
- Source/ThirdParty/libwebrtc/Source/third_party/libaom/source/libaom/av1
- common
- encoder
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1384 | 1384 | | |
1385 | 1385 | | |
1386 | 1386 | | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
1387 | 1391 | | |
1388 | | - | |
| 1392 | + | |
| 1393 | + | |
1389 | 1394 | | |
1390 | 1395 | | |
1391 | 1396 | | |
1392 | 1397 | | |
1393 | 1398 | | |
1394 | 1399 | | |
1395 | | - | |
| 1400 | + | |
1396 | 1401 | | |
1397 | 1402 | | |
1398 | 1403 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
108 | 126 | | |
109 | 127 | | |
110 | 128 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
736 | 739 | | |
737 | | - | |
| 740 | + | |
| 741 | + | |
738 | 742 | | |
739 | 743 | | |
740 | 744 | | |
741 | 745 | | |
742 | 746 | | |
743 | 747 | | |
744 | | - | |
| 748 | + | |
745 | 749 | | |
746 | 750 | | |
747 | 751 | | |
| |||
0 commit comments