Update to patchlevel 39. Bugs addressed: "The bash getcwd replacement will write past the end of allocated memory when it allocates the buffer itself if it uses the buffer size passed as an argument, and that size is less than the length of the pathname. Bash incorrectly puts the second and subsequent children spawned by a shell forked to run a command substitution in the wrong process group. When initializing a subshell, bash did not reset a sentinel keeping track of the number of command substitutions, leading to an infinite loop if an error was encountered in the subshell. Bash inappropriately evaluates command substitutions while expanding directory names as part of command substitution. When reading input lines into a single variable using the `read' builtin, bash did not free the memory it read after assigning it to the named variable, causing a memory leak noticeable when reading large amounts of data." Bash-3.2 changed the behavior of the [[ command's `=~' operator when the right-hand side was quoted: it matched the quoted portions as strings. This patch introduces a new shell option: compat31. When enabled, it restores the bash-3.1 behavior with respect to evaluating quoted arguments to the =~ operator. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->obrien Over to maintainer (via the GNATS Auto Assign Tool)
obrien 2008-05-04 02:34:53 UTC FreeBSD ports repository Modified files: shells/bash Makefile distinfo Log: Update to Bash 3.2 patchlevel 39. PR: 123326 Submitted by: bf2006a@yahoo.com Revision Changes Path 1.101 +1 -1 ports/shells/bash/Makefile 1.38 +18 -0 ports/shells/bash/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed committed