Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:E
libsndfile
sndfile-deinterlace-channels-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sndfile-deinterlace-channels-check.patch of Package libsndfile
diff --git a/programs/sndfile-deinterleave.c b/programs/sndfile-deinterleave.c index 5366031075ab..712cb96cda76 100644 --- a/programs/sndfile-deinterleave.c +++ b/programs/sndfile-deinterleave.c @@ -89,6 +89,11 @@ main (int argc, char **argv) exit (1) ; } ; + if (sfinfo.channels > MAX_CHANNELS) + { printf ("\nError : Too many channels %d in input file '%s'.\n", sfinfo.channels, argv[1]) ; + exit (1) ; + } + state.channels = sfinfo.channels ; sfinfo.channels = 1 ;
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