to valgrind. Just add -fsanitize=address to the CFLAGS.
If you can't reproduce the bug with asan I'd bet on a valgrind bug.
--
Hanno Böck
https://hboeck.de/
mail/jabber: ha...@hboeck.de
GPG: FE73757FA60E4E21B937579FA5880072BBB51E42
ack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user:f7
Contiguous container OOB:fc
AS
AN enabled - for that
these kind of issues need to be resolved.)
--
Hanno Böck
http://hboeck.de/
mail/jabber: ha...@hboeck.de
GPG: BBB51E42
pgpWUzLxhgpyE.pgp
Description: OpenPGP digital signature
On Mon, 9 Nov 2015 09:57:22 -0500
Chet Ramey wrote:
> On 11/6/15 9:46 AM, Hanno Böck wrote:
> > While testing bash with address sanitizer I discovered a heap out of
> > bounds read. This affects bash 4.3 with the latest patchlevel 42.
>
> Thanks for the report. This will
Poisoned by user:f7
Contiguous container OOB:fc
ASan internal: fe
==28349==ABORTING
--
Hanno Böck
http://hboeck.de/
mail/jabber: ha...@hboeck.de
GPG: BBB51E42
pgpwCZyTys7PN.pgp
Description: OpenPGP digital signature
On Fri, 10 Jul 2015 16:33:34 -0400
Chet Ramey wrote:
> Perfect, thanks. Try the attached patch.
Yep, fixes the bug. Thanks!
--
Hanno Böck
http://hboeck.de/
mail/jabber: ha...@hboeck.de
GPG: BBB51E42
pgp7AW88NhmiX.pgp
Description: OpenPGP digital signature
On Fri, 10 Jul 2015 16:00:25 -0400
Chet Ramey wrote:
> That helps, but they are strings, so can you print the string
> values? I'm interested in reproducing this instead of just guessing
> and not being able to fix it at an appropriately high level. Thanks.
pathname /
x */
tem
p' are
> when it crashes. Thanks.
I was unable to get this working in gdb, but I added some printf:
pathname 11728
x 11727
temp 11728
--
Hanno Böck
http://hboeck.de/
mail/jabber: ha...@hboeck.de
GPG: BBB51E42
pgpK9QbB0nAxO.pgp
Description: OpenPGP digital signature
On Fri, 10 Jul 2015 14:41:04 -0400
Chet Ramey wrote:
> On 7/10/15 2:38 PM, Hanno Böck wrote:
> > On Fri, 10 Jul 2015 14:23:25 -0400
> > Chet Ramey wrote:
> >
> >>> To reproduce:
> >>> a) compile bash with CFLAGS="-fsanitize=address -g"
k right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user:f7
Contiguous container OOB:fc
ASan internal: fe
==5999==ABORTING
--
Hanno Böck
f8
Global redzone: f9
Global init order: f6
Poisoned by user:f7
Contiguous container OOB:fc
ASan internal: fe
==28776==ABORTING
--
Hanno Böck
http://hboeck.de/
mail/jabber: ha...@hboeck.de
GPG: BBB51E42
pgpSN2bDnjEmD.pgp
Description: OpenPGP digital signature
ease drop me a note when you publish it as an "official" patch level
for bash.
Btw, address sanitizer is just a compile feature of gcc and clang
activated by a cflag, you usually don't need anything special to have
it. Makes sense to test from time to time with it.
--
Hanno Böck
ght redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user:f7
Contiguous container OOB:fc
ASan internal: fe
==5029==ABORTING
--
Hanno Böc
; char there seems no easy portable way to do
so. Using escaping with \~ works in 4.3, but not in 4.2.
I wanted to ask if this is an expected feature/behaviour change in 4.3
or some kind of bug?
cu,
--
Hanno Böck
http://hboeck.de/
mail/jabber: ha...@hboeck.de
GPG: BBB51E42
signature.asc
Description: PGP signature
14 matches
Mail list logo