Your message dated Sun, 03 Feb 2008 00:36:19 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#462533: fixed in ltrace 0.5-3.1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ltrace
Version: 0.5-3
Severity: normal
Tags: patch

clone() test fix. The child_stack parameter pointer must be non-static and
point to the upper limit of allocated memory area, otherwise it seems to cause
memory corruption on ARM.

Correct usage based on code from nptl/tst-getpid1.c in Glibc 2.5 source.

Changelog:

2008-01-25  Anderson Lizardo  <[EMAIL PROTECTED]>

        * testsuite/ltrace.minor/trace-clone.c: fix memory corruption
        on clone() test.

-- 
Anderson Lizardo
Instituto Nokia de Tecnologia
Manaus - Brazil
clone() test fix. The child_stack parameter pointer must be non-static and
point to the upper limit of allocated memory area, otherwise it seems to cause
memory corruption on ARM.

Correct usage based on code from nptl/tst-getpid1.c in Glibc 2.5 source.

Signed-off-by: Anderson Lizardo <[EMAIL PROTECTED]>
Signed-off-by: Bruna Moreira <[EMAIL PROTECTED]>

Index: ltrace-indt/testsuite/ltrace.minor/trace-clone.c
===================================================================
--- ltrace-indt.orig/testsuite/ltrace.minor/trace-clone.c	2007-12-18 21:10:23.000000000 -0400
+++ ltrace-indt/testsuite/ltrace.minor/trace-clone.c	2007-12-18 21:10:26.000000000 -0400
@@ -22,11 +22,11 @@ typedef int (* myfunc)();
 int main ()
 {
   pid_t pid;
-  static char stack[STACK_SIZE];
+  char stack[STACK_SIZE];
 #ifdef __ia64__
   pid = __clone2((myfunc)&child, stack, STACK_SIZE, CLONE_FS, NULL);
 #else
-  pid = clone((myfunc)&child, stack,CLONE_FS, NULL );
+  pid = clone((myfunc)&child, stack + STACK_SIZE,CLONE_FS, NULL );
 #endif
   if (pid < 0)
     {

--- End Message ---
--- Begin Message ---
Source: ltrace
Source-Version: 0.5-3.1

We believe that the bug you reported is fixed in the latest version of
ltrace, which is due to be installed in the Debian FTP archive:

ltrace_0.5-3.1.diff.gz
  to pool/main/l/ltrace/ltrace_0.5-3.1.diff.gz
ltrace_0.5-3.1.dsc
  to pool/main/l/ltrace/ltrace_0.5-3.1.dsc
ltrace_0.5-3.1_i386.deb
  to pool/main/l/ltrace/ltrace_0.5-3.1_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.
Riku Voipio <[EMAIL PROTECTED]> (supplier of updated ltrace 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: Tue, 29 Jan 2008 00:26:50 +0200
Source: ltrace
Binary: ltrace
Architecture: source i386
Version: 0.5-3.1
Distribution: unstable
Urgency: low
Maintainer: Juan Cespedes <[EMAIL PROTECTED]>
Changed-By: Riku Voipio <[EMAIL PROTECTED]>
Description: 
 ltrace     - Tracks runtime library calls in dynamically linked programs
Closes: 176413 450931 462530 462531 462532 462533 462535
Changes: 
 ltrace (0.5-3.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Big thanks for Anderson Lizardo for providing patches!
   * Add generic support for arm targets, Closes: #176413
   * Save funtion arguments on arm, Closes: #462530
   * Add thumb instruction support, Closes: #462531
   * Add basic arm/eabi support, Closes: #450931
   * fix exec() testcase cleanup, Closes: #462532
   * fix memory corruption in clone() test, Closes: #462533
   * fix tracing child with "-p" option, Closes: #462535
   * Update standard, no changes
Files: 
 8a6cb2cd1b7273555e61b03f02a0e3e6 708 utils optional ltrace_0.5-3.1.dsc
 8342b15d3342da685c411599d1227db9 14318 utils optional ltrace_0.5-3.1.diff.gz
 823c7455b24c963541702b98f0f6bbc4 67058 utils optional ltrace_0.5-3.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHnlmVibPvMsrqrwMRAiyzAJ4yOn+0T1V1UCLD9R37oEqE4oMjfQCg644L
wufdNq9vFvrPhqSGmyzQIPI=
=Mg+G
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to