Resolves: #1185558 - do not use stack variable out of its scope of validity
This commit is contained in:
parent
6609caf45a
commit
d58f05628e
26
vorbis-tools-1.4.0-bz1185558.patch
Normal file
26
vorbis-tools-1.4.0-bz1185558.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From c0a0dbfa58bf13cbd2a637288bf93619a7007673 Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Mon, 26 Jan 2015 12:33:19 +0100
|
||||
Subject: [PATCH] oggenc: do not use stack variable out of its scope of
|
||||
validity
|
||||
|
||||
---
|
||||
oggenc/oggenc.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/oggenc/oggenc.c b/oggenc/oggenc.c
|
||||
index ea105b2..759a3ee 100644
|
||||
--- a/oggenc/oggenc.c
|
||||
+++ b/oggenc/oggenc.c
|
||||
@@ -239,7 +239,7 @@ int main(int argc, char **argv)
|
||||
|
||||
if(opt.rawmode)
|
||||
{
|
||||
- input_format raw_format = {NULL, 0, raw_open, wav_close, "raw",
|
||||
+ static input_format raw_format = {NULL, 0, raw_open, wav_close, "raw",
|
||||
N_("RAW file reader")};
|
||||
|
||||
enc_opts.rate=opt.raw_samplerate;
|
||||
--
|
||||
2.1.0
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: The Vorbis General Audio Compression Codec tools
|
||||
Name: vorbis-tools
|
||||
Version: 1.4.0
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
Epoch: 1
|
||||
Group: Applications/Multimedia
|
||||
License: GPLv2
|
||||
@ -18,6 +18,9 @@ Patch2: vorbis-tools-1.4.0-bz1003607.patch
|
||||
# update po files from translationproject.org (#1116650)
|
||||
Patch3: vorbis-tools-1.4.0-bz1116650.patch
|
||||
|
||||
# do not use stack variable out of its scope of validity (#1185558)
|
||||
Patch4: vorbis-tools-1.4.0-bz1185558.patch
|
||||
|
||||
BuildRequires: flac-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libao-devel
|
||||
@ -42,6 +45,7 @@ comment editor.
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
|
||||
%build
|
||||
@ -66,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 26 2015 Kamil Dudka <kdudka@redhat.com> - 1:1.4.0-18
|
||||
- do not use stack variable out of its scope of validity (#1185558)
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user