On gio, nov 07, 2013 at 11:07:00 +0100, Boris D. Carlsson wrote:
> Package: libc6
> Version: 2.13-38
> Severity: minor
> 
> When strtod receives a string starting with 'n', it will read 16
> bytes regardless of the actual length of the string sent.
> 
> Example:
> 
> $ echo "#include <stdlib.h>
> int main() {
>     char buf[] = "no";
>     strtod(buf, NULL);
> }
> " > main.c
> $ gcc main.c
> $ LD_DEBUG=bindings ./a.out 2>&1 | grep strtod
> 25988:     binding file ./a.out [0] to
>            /lib/x86_64-linux-gnu/libc.so.6 [0]:
>            normal symbol `strtod' [GLIBC_2.2.5]
> $ valgrind --track-origins=yes ./a.out
> ==123== Memcheck, a memory error detector
> ==123== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
> ==123== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info

I am almost certain that this has already been fixed. Would it be possible for
you to test with the valgrind version in sid?

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature

Reply via email to