Package: libc6
Version: 2.10.1-3
Severity: normal
The program nomallocinfo.c below prints a bit
malloc version=1
heap nr=0
sizes
then gets a segfault. malloc_info() won't have much to say when there's
been no mallocs yet, but I think it shouldn't segfault in that case.
#include
Package: libc6
Version: 2.10.1-3
Severity: normal
The program mallocinfoquotes.c prints
system type=current size=135168
/
system type=max size=135168
/
which looks like two \n meant to be \, to close the quoted values.
#include stdio.h
#include stdlib.h
#include malloc.h
int
Processing commands for cont...@bugs.debian.org:
# Automatically generated email from bts, devscripts version 2.10.35lenny7
tags 562678 + pending
Bug #562678 [libc6] libc6: malloc_info() missing quotes in output
Added tag(s) pending.
End of message, stopping processing here.
Please contact me
Author: aurel32
Date: 2009-12-26 23:48:15 + (Sat, 26 Dec 2009)
New Revision: 4037
Added:
glibc-package/trunk/debian/patches/any/cvs-malloc_info-output.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* Add
There is no risk of breakage in optimised code with -O2 or more.
For my education -- could you please explain why? (No need to quote the
C99 standard, just give me the intuition.)
Juliusz
--
To UNSUBSCRIBE, email to
5 matches
Mail list logo