Commit 5c94c92
[Backport] Security bug 379715150
Manual backport of patch originally reviewed on
https://chromium-review.googlesource.com/c/chromium/src/+/6032156:
Use temporary variable to prevent heap-use-after-free
There is a UAF in stable as DecoderBuffer::side_data() returns a
temporary object. Raw pointers into its owned members will be dangling
(seen in next line)
Also, this was fixed in
https://chromium-review.googlesource.com/c/chromium/src/+/5893004 but
that is in M132, not M131.
Bug: 379715150
Change-Id: I52e95503c4c5daaed58514a1d007335c1a3cab74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6032156
Reviewed-by: Thomas Guilbert <[email protected]>
Commit-Queue: Syed AbuTalib <[email protected]>
Reviewed-by: Dale Curtis <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1385358}
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/615721
Reviewed-by: Anu Aliyas <[email protected]>1 parent 7a4fd50 commit 5c94c92
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
108 | 109 | | |
109 | | - | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
| |||
0 commit comments