Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Vorbis
Commits
44fa751a
Commit
44fa751a
authored
Jun 20, 2007
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct a bug where the guard code is allowing illegally small blocksizes.
svn path=/trunk/vorbis/; revision=13149
parent
9917d2c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/info.c
lib/info.c
+1
-1
No files found.
lib/info.c
View file @
44fa751a
...
...
@@ -211,7 +211,7 @@ static int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){
if
(
vi
->
rate
<
1
)
goto
err_out
;
if
(
vi
->
channels
<
1
)
goto
err_out
;
if
(
ci
->
blocksizes
[
0
]
<
8
)
goto
err_out
;
if
(
ci
->
blocksizes
[
0
]
<
64
)
goto
err_out
;
if
(
ci
->
blocksizes
[
1
]
<
ci
->
blocksizes
[
0
])
goto
err_out
;
if
(
oggpack_read
(
opb
,
1
)
!=
1
)
goto
err_out
;
/* EOP check */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment