Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
wavpack
CVE-2018-19840.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2018-19840.patch of Package wavpack
From 070ef6f138956d9ea9612e69586152339dbefe51 Mon Sep 17 00:00:00 2001 From: David Bryant <david@wavpack.com> Date: Thu, 29 Nov 2018 21:00:42 -0800 Subject: [PATCH] issue #53: error out on zero sample rate --- src/pack_utils.c | 5 +++++ 1 file changed, 5 insertions(+) Index: wavpack-4.70.0/src/wputils.c =================================================================== --- wavpack-4.70.0.orig/src/wputils.c +++ wavpack-4.70.0/src/wputils.c @@ -942,6 +942,11 @@ int WavpackSetConfiguration (WavpackCont int num_chans = config->num_channels; int i; + if (!config->sample_rate) { + strcpy (wpc->error_message, "sample rate cannot be zero!"); + return FALSE; + } + wpc->total_samples = total_samples; wpc->config.sample_rate = config->sample_rate; wpc->config.num_channels = config->num_channels;
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