Summary: | app-shells/bash-4.4: large HISTFILESIZE value may result in upfront memory exhaustion | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kfm |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://lists.gnu.org/archive/html/bug-bash/2016-10/msg00010.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 595278 | ||
Attachments: | Patch to clamp the amount of memory initially allocated for history |
Description
kfm
2016-10-13 01:35:25 UTC
Created attachment 450060 [details, diff]
Patch to clamp the amount of memory initially allocated for history
commit eb4d79382613c3fa33a2375ba75f3b4f8b67eae4 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Thu Oct 13 10:29:59 2016 app-shells/bash: Revbump to fix bug #597006 Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Fixed in app-shells/bash-4.4-r1 that patch is against readline, and released versions of bash don't build against the bundled copy, so putting the patch into bash doesn't help :) fixed here: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b0bd0d1d7636f79c4c1a65ab280c7f9009ff26e https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a6d6915dfc68f4a67a7e8c03265d9e02ed39425 (In reply to SpanKY from comment #3) > that patch is against readline, and released versions of bash don't build > against the bundled copy, so putting the patch into bash doesn't help :) I'm embarrassed to have overlooked that. Thanks, SpanKY. |