FreeBSD Bugzilla – Bug 123326
[PATCH]shells/bash: update to 3.2.39
Last modified: 2008-05-04 03:40:03 UTC
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
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:
Over to maintainer (via the GNATS Auto Assign Tool)
obrien 2008-05-04 02:34:53 UTC
FreeBSD ports repository
shells/bash Makefile distinfo
Update to Bash 3.2 patchlevel 39.
Submitted by: firstname.lastname@example.org
Revision Changes Path
1.101 +1 -1 ports/shells/bash/Makefile
1.38 +18 -0 ports/shells/bash/distinfo
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"