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 305285 Details for
Bug 442248
Add patches necessary for gnome-lirc-properties
[?]
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]
0001-Use-new-instead-of-conf-as-filename-suffix.patch
0001-Use-new-instead-of-conf-as-filename-suffix.patch (text/plain), 842 bytes, created by
Bastien Nocera
on 2008-05-13 19:20:24 UTC
(
hide
)
Description:
0001-Use-new-instead-of-conf-as-filename-suffix.patch
Filename:
MIME Type:
Creator:
Bastien Nocera
Created:
2008-05-13 19:20:24 UTC
Size:
842 bytes
patch
obsolete
>From 3e45e512719feccaa16edfd208273bade4f724e4 Mon Sep 17 00:00:00 2001 >From: Mathias Hasselmann <mathias@openismus.com> >Date: Wed, 13 Feb 2008 21:16:09 +0100 >Subject: Use '.new' instead of '.conf' as filename suffix in template mode, > and append that the suffix to 'filename_new' instead of 'filename', > to prevent a buffer overrun for 'argv[optind]'. > >--- > daemons/irrecord.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/daemons/irrecord.c b/daemons/irrecord.c >index ea298e3..df03c7b 100644 >--- a/daemons/irrecord.c >+++ b/daemons/irrecord.c >@@ -364,7 +364,7 @@ int main(int argc,char **argv) > exit(EXIT_FAILURE); > } > strcpy(filename_new, filename); >- strcat(filename_new, ".conf"); >+ strcat(filename_new,".new"); > filename = filename_new; > } > fout=fopen(filename,"w"); > if(fout==NULL) >-- >1.5.3.7 >
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 442248
:
302325
|
305060
|
305125
| 305285 |
305286