NetBSD-Bugs archive

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

PR/55979 CVS commit: src/bin/sh

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

From: "Robert Elz" <>
Subject: PR/55979 CVS commit: src/bin/sh
Date: Tue, 16 Feb 2021 15:30:12 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Tue Feb 16 15:30:12 UTC 2021
 Modified Files:
 	src/bin/sh: exec.c
 Log Message:
 PR bin/55979
 This fixes the MSAN detected reference to an unitialised variable
 (an unitialised field in a struct) which happens when a command is
 not found after a PATH search.
 Aside from skipping some known to be going to fail exec*() calls
 in some cases, the setting of the relevant field is irrelevant,
 so this problem makes no practical difference to the shell, or any
 shell script.
 XXX (maybe) pullup -9
 To generate a diff of this commit:
 cvs rdiff -u -r1.54 -r1.55 src/bin/sh/exec.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