NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/52715 CVS commit: [netbsd-8] src/bin/sh

The following reply was made to PR bin/52715; it has been noted by GNATS.

From: "Soren Jacobsen" <>
Subject: PR/52715 CVS commit: [netbsd-8] src/bin/sh
Date: Fri, 17 Nov 2017 20:33:53 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Fri Nov 17 20:33:53 UTC 2017
 Modified Files:
 	src/bin/sh [netbsd-8]: parser.c
 Log Message:
 Pull up following revision(s) (requested by kre in ticket #355):
 	bin/sh/parser.c: revision 1.145
 PR bin/52715
 Correct a (relatively harmless) use after free in prompt expansion
 processing [detected by asan.]
 Relatively harmless: as (while incorrect) the way the data is (was)
 used more or less guaranteed that the buffer contents would be
 unaltered until well after they are (were) no longer wanted (this
 is the expanded prompt string, it is just output (or copied into
 libedit internal storage) and forgotten.
 This should make no visible difference to anyone (not using asan or
 To generate a diff of this commit:
 cvs rdiff -u -r1.132.2.2 -r1.132.2.3 src/bin/sh/parser.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