mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
multimedia/libvpx: backport use-after-free fix
https://bugs.chromium.org/p/chromium/issues/detail?id=842265 Inspired by: Mozilla Obtained from: upstream (Chromium 68, Firefox 62)
This commit is contained in:
parent
6ec74a36cd
commit
48d344f9d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481043
2 changed files with 14 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
PORTNAME= libvpx
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.7.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= multimedia
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
|
13
multimedia/libvpx/files/patch-mozilla-bug1480092
Normal file
13
multimedia/libvpx/files/patch-mozilla-bug1480092
Normal file
|
@ -0,0 +1,13 @@
|
|||
https://chromium.googlesource.com/webm/libvpx/+/52add5896661%5E!/
|
||||
|
||||
--- vp8/common/postproc.c.orig 2018-01-24 22:25:44 UTC
|
||||
+++ vp8/common/postproc.c
|
||||
@@ -65,7 +65,7 @@ void vp8_deblock(VP8_COMMON *cm, YV12_BUFFER_CONFIG *s
|
||||
double level = 6.0e-05 * q * q * q - .0067 * q * q + .306 * q + .0065;
|
||||
int ppl = (int)(level + .5);
|
||||
|
||||
- const MODE_INFO *mode_info_context = cm->show_frame_mi;
|
||||
+ const MODE_INFO *mode_info_context = cm->mi;
|
||||
int mbr, mbc;
|
||||
|
||||
/* The pixel thresholds are adjusted according to if or not the macroblock
|
Loading…
Add table
Reference in a new issue