Your message dated Fri, 28 Mar 2008 15:17:23 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#472959: fixed in posh 0.6.4
has caused the Debian Bug report #472959,
regarding Double-free or corruption in "local" handling
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
472959: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472959
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: posh
Version: 0.6.3
Severity: serious
Justification: 10.4 - local: "only uses such as <x> must be supported"
#!/bin/posh
myfunc() {
local a
a=""
a="test"
echo $a
}
myfunc
% posh ./test.sh
*** glibc detected *** posh: double free or corruption (fasttop):
0x08065560 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7ecb564]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7ecd766]
posh[0x804968c]
posh[0x8052d20]
posh[0x8052d95]
posh[0x804d633]
posh[0x804da4e]
posh[0x804db3c]
posh[0x804d2a6]
posh[0x804deb8]
posh[0x80530a2]
posh[0x8053958]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb7e73456]
posh[0x80495a1]
======= Memory map: ========
08048000-08060000 r-xp 00000000 fe:01 227177 /bin/posh
08060000-08062000 rw-p 00017000 fe:01 227177 /bin/posh
08062000-08083000 rw-p 08062000 00:00 0 [heap]
b7d00000-b7d21000 rw-p b7d00000 00:00 0
b7d21000-b7e00000 ---p b7d21000 00:00 0
b7e4f000-b7e5b000 r-xp 00000000 fe:01 454335 /lib/libgcc_s.so.1
b7e5b000-b7e5c000 rw-p 0000b000 fe:01 454335 /lib/libgcc_s.so.1
b7e5c000-b7e5d000 rw-p b7e5c000 00:00 0
b7e5d000-b7fb2000 r-xp 00000000 fe:01 454460
/lib/i686/cmov/libc-2.7.so
b7fb2000-b7fb3000 r--p 00155000 fe:01 454460
/lib/i686/cmov/libc-2.7.so
b7fb3000-b7fb5000 rw-p 00156000 fe:01 454460
/lib/i686/cmov/libc-2.7.so
b7fb5000-b7fb8000 rw-p b7fb5000 00:00 0
b7fc2000-b7fc4000 rw-p b7fc2000 00:00 0
b7fc4000-b7fde000 r-xp 00000000 fe:01 454310 /lib/ld-2.7.so
b7fde000-b7fe0000 rw-p 0001a000 fe:01 454310 /lib/ld-2.7.so
bfdfd000-bfe12000 rw-p bffeb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
I have also found similar bugs where a string assigned to a local-ised
variable would subsequently expand to an arbitrary single character,
but this is probably the same bug.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: posh
Source-Version: 0.6.4
We believe that the bug you reported is fixed in the latest version of
posh, which is due to be installed in the Debian FTP archive:
posh_0.6.4.dsc
to pool/main/p/posh/posh_0.6.4.dsc
posh_0.6.4.tar.gz
to pool/main/p/posh/posh_0.6.4.tar.gz
posh_0.6.4_i386.deb
to pool/main/p/posh/posh_0.6.4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Clint Adams <[EMAIL PROTECTED]> (supplier of updated posh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 28 Mar 2008 11:01:15 -0400
Source: posh
Binary: posh
Architecture: source i386
Version: 0.6.4
Distribution: unstable
Urgency: medium
Maintainer: Clint Adams <[EMAIL PROTECTED]>
Changed-By: Clint Adams <[EMAIL PROTECTED]>
Description:
posh - Policy-compliant Ordinary SHell
Closes: 472959
Changes:
posh (0.6.4) unstable; urgency=medium
.
* Fix local builtin to report correct arguments error messages.
* Avoid double-free with local variables (while introducing a memory
leak). closes: #472959.
Files:
18315e1ba5eb3bca91cbb9a13b4895b4 630 shells optional posh_0.6.4.dsc
9e42a7ac8e532ceddb35183656bdfef5 415266 shells optional posh_0.6.4.tar.gz
6ab263dda0adf0902769d55d7e4e5518 78748 shells optional posh_0.6.4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Debian!
iD8DBQFH7Qn05m0u66uWM3ARAiITAJ944ITT8Q4k1jSJAlELOQ4OI85RZQCffrhM
62N26gkjknvZ6JxMhMYDNAg=
=4yKS
-----END PGP SIGNATURE-----
--- End Message ---