Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libsndfile.22299
libsndfile-paf-zero-division-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsndfile-paf-zero-division-fix.diff of Package libsndfile.22299
=== modified file 'src/paf.c' --- src/paf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/src/paf.c +++ b/src/paf.c @@ -202,7 +202,7 @@ psf->endian = SF_ENDIAN_BIG ; } ; - if (paf_fmt.channels > SF_MAX_CHANNELS) + if (paf_fmt.channels > SF_MAX_CHANNELS || paf_fmt.channels <= 0) return SFE_PAF_BAD_CHANNELS ; psf->datalength = psf->filelength - psf->dataoffset ;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor