Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 846118 Details for
Bug 1048678
CVE-2014-0027 flite: insecure temporary file use
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch
0001-auserver.c-Only-write-audio-data-to-a-file-in-debug-.patch (text/plain), 1.38 KB, created by
Rui Matos
on 2014-01-06 14:24:51 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Rui Matos
Created:
2014-01-06 14:24:51 UTC
Size:
1.38 KB
patch
obsolete
>From a85193f122b7ec0d377e0a39ac58c64f12c51085 Mon Sep 17 00:00:00 2001 >From: Rui Matos <tiagomatos@gmail.com> >Date: Mon, 6 Jan 2014 13:45:00 +0000 >Subject: [PATCH] auserver.c: Only write audio data to a file in debug builds > >This isn't useful in regular builds and is actually a security >concern. >--- > src/audio/auserver.c | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/src/audio/auserver.c b/src/audio/auserver.c >index 29716d3..3e838d0 100644 >--- a/src/audio/auserver.c >+++ b/src/audio/auserver.c >@@ -58,9 +58,11 @@ static int play_wave_from_socket(snd_header *header,int audiostream) > int q,i,n,r; > unsigned char bytes[CST_AUDIOBUFFSIZE]; > short shorts[CST_AUDIOBUFFSIZE]; >+#ifdef DEBUG > cst_file fff; > > fff = cst_fopen("/tmp/awb.wav",CST_OPEN_WRITE|CST_OPEN_BINARY); >+#endif > > if ((audio_device = audio_open(header->sample_rate,1, > (header->encoding == CST_SND_SHORT) ? >@@ -107,7 +109,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream) > for (q=r; q > 0; q-=n) > { > n = audio_write(audio_device,shorts,q); >+#ifdef DEBUG > cst_fwrite(fff,shorts,2,q); >+#endif > if (n <= 0) > { > audio_close(audio_device); >@@ -116,7 +120,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream) > } > } > audio_close(audio_device); >+#ifdef DEBUG > cst_fclose(fff); >+#endif > > return CST_OK_FORMAT; > >-- >1.8.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1048678
: 846118