projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c9ab7d
)
[CVE-2017-14633]: Don't allow for more than 256 channels
81/164581/1
author
Sejun Park
<sejun79.park@samsung.com>
Wed, 20 Dec 2017 00:40:54 +0000
(09:40 +0900)
committer
Sejun Park
<sejun79.park@samsung.com>
Wed, 20 Dec 2017 00:40:54 +0000
(09:40 +0900)
Change-Id: I17b8a0a97b4b97889bad757bb1ddfe20bb4331b4
lib/info.c
patch
|
blob
|
history
diff --git
a/lib/info.c
b/lib/info.c
index
c4706b0
..
ecced14
100644
(file)
--- a/
lib/info.c
+++ b/
lib/info.c
@@
-578,7
+578,7
@@
int vorbis_analysis_headerout(vorbis_dsp_state *v,
oggpack_buffer opb;
private_state *b=v->backend_state;
- if(!b){
+ if(!b
||vi->channels<=0||vi->channels>256
){
ret=OV_EFAULT;
goto err_out;
}