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 697433 Details for
Bug 911404
builtin trap might cause use of uninitialized memory
[?]
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]
bash-4.2-set_signal_handler.patch
0001-Don-t-return-garbage-in-set_signal_handler-when-siga.patch (text/plain), 1.95 KB, created by
Mark Wielaard
on 2013-02-14 22:25:49 UTC
(
hide
)
Description:
bash-4.2-set_signal_handler.patch
Filename:
MIME Type:
Creator:
Mark Wielaard
Created:
2013-02-14 22:25:49 UTC
Size:
1.95 KB
patch
obsolete
>From ccae9cab47f16630105446da39b3ad34944490fc Mon Sep 17 00:00:00 2001 >From: Mark Wielaard <mjw@redhat.com> >Date: Thu, 14 Feb 2013 23:22:21 +0100 >Subject: [PATCH] Don't return garbage in set_signal_handler () when sigaction > () fails. > > >--- > bash-4.2-set_signal_handler.patch | 12 ++++++++++++ > bash.spec | 5 ++++- > 2 files changed, 16 insertions(+), 1 deletion(-) > create mode 100644 bash-4.2-set_signal_handler.patch > >diff --git a/bash-4.2-set_signal_handler.patch b/bash-4.2-set_signal_handler.patch >new file mode 100644 >index 0000000..8c89f5b >--- /dev/null >+++ b/bash-4.2-set_signal_handler.patch >@@ -0,0 +1,12 @@ >+--- bash-4.2/sig.c.orig 2013-02-14 22:59:31.611024868 +0100 >++++ bash-4.2/sig.c 2013-02-14 23:01:37.272562990 +0100 >+@@ -668,6 +668,9 @@ >+ act.sa_handler = handler; >+ act.sa_flags = 0; >+ >++ /* If sigaction () fails, assume original handler was the default one. */ >++ oact.sa_handler = SIG_DFL; >++ >+ /* XXX - bash-4.2 */ >+ /* We don't want a child death to interrupt interruptible system calls, even >+ if we take the time to reap children */ >diff --git a/bash.spec b/bash.spec >index 05be2d4..42def7a 100644 >--- a/bash.spec >+++ b/bash.spec >@@ -6,7 +6,7 @@ > Version: %{baseversion}%{patchleveltag} > Name: bash > Summary: The GNU Bourne Again shell >-Release: 3%{?dist} >+Release: 4%{?dist} > Group: System Environment/Shells > License: GPLv3+ > Url: http://www.gnu.org/software/bash >@@ -112,6 +112,8 @@ Patch125: bash-4.2-size_type.patch > # 903833, Fix missing close(), fixes fd leaks > Patch126: bash-4.2-missing_closes.patch > >+Patch127: bash-4.2-set_signal_handler.patch >+ > BuildRequires: texinfo bison > BuildRequires: ncurses-devel > BuildRequires: autoconf, gettext >@@ -210,6 +212,7 @@ This package contains documentation files for %{name}. > %patch124 -p1 -b .signal > %patch125 -p1 -b .size_type > %patch126 -p1 -b .missing_closes >+%patch127 -p1 -b .set_signal_handler > > echo %{version} > _distribution > echo %{release} > _patchlevel >-- >1.8.1.2 >
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 911404
: 697433