NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/36532 CVS commit: src/bin/sh
The following reply was made to PR bin/36532; it has been noted by GNATS.
From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/36532 CVS commit: src/bin/sh
Date: Sun, 22 Jul 2018 20:43:58 +0000
Module Name: src
Committed By: kre
Date: Sun Jul 22 20:43:58 UTC 2018
Modified Files:
src/bin/sh: trap.c
Log Message:
PR bin/36532 (perhaps)
This is more or less the same patch as provided in the PR
(just 11 years later, so changed a bit) by woods@...
Since there is no known way to actually cause the reported crash,
we may never know if this change actually fixes anything. But
even if it doesn't it certainly cannot hurt.
There is a potential race which could possibly explain the issue
(see commentary in the PR) which is not easy to avoid - if that is
the actual cause, this should provide a defence, if not really a fix.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/bin/sh/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index