Bug#593558: libffi-dev: ffi_call segfault: read beyond the heap, allocated for return value

2011-04-24 Thread Ygrex
В Sat, 23 Apr 2011 11:17:31 +0200 Matthias Klose d...@debian.org пишет: please could you recheck with libffi 3.0.10~rc8 from experimental? works perfectly on amd64, but still segfault on i686 compiling with libffi-dev 3.0.10~rc8, linking with libffi6 3.0.10~rc8 amd64: silent valgrind, right

Bug#593558: libffi-dev: ffi_call segfault: read beyond the heap, allocated for return value

2011-04-23 Thread Matthias Klose
please could you recheck with libffi 3.0.10~rc8 from experimental? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Bug#593558: libffi-dev: ffi_call segfault: read beyond the heap, allocated for return value

2010-08-24 Thread Igor Bogomazov
ret value must be 10 for strnlen, and 5 for u8_mbsnlen; I've slightly modified the strlen.c from testsuite/libffi.call; in the same manner I've replaced return value type ffi_type_sint with a structured type of the size sizeof(size_t). Test interrupts since then: $ ./a.out check new check

Bug#593558: libffi-dev: ffi_call segfault: read beyond the heap, allocated for return value

2010-08-23 Thread Matthias Klose
tag 593558 + moreinfo thanks On 19.08.2010 10:48, Ygrex wrote: Package: libffi-dev Version: 3.0.9-2 Severity: important The test C-code is attached: gcc-4.4 -lffi -lunistring -o test test.c It can be compiled without libunistring as well (see notes, please): 1. comment out rows #7 and #8 2.

Bug#593558: libffi-dev: ffi_call segfault: read beyond the heap, allocated for return value

2010-08-19 Thread Ygrex
Package: libffi-dev Version: 3.0.9-2 Severity: important The test C-code is attached: gcc-4.4 -lffi -lunistring -o test test.c It can be compiled without libunistring as well (see notes, please): 1. comment out rows #7 and #8 2. uncomment #9 3. gcc-4.4 -lffi -o test test.c What the code does: