Skip to content
Snippets Groups Projects
Commit a931e217 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry
Browse files

Avoid a potential divide-by-zero.

Reported by clang's static analysis in
 https://github.com/xiph/opusfile/issues/16
This would have taken about 22 TB of junk data before the first
 decoded sample to trigger, so not very likely to occur in
 practice.

Thanks to kcgen for filing the report.
parent 9f181180
No related branches found
No related tags found
1 merge request!14Avoid a potential divide-by-zero.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment