Bug#562678: libc6: malloc_info() missing quotes in output
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
main (void)
{
malloc (1);
malloc_info(0,stdout);
return 0;
}
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.30-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc6 depends on:
ii libc-bin 2.10.1-3 GNU C Library: Binaries
ii libgcc1 1:4.4.2-4 GCC support library
Versions of packages libc6 recommends:
pn libc6-i686 <none> (no description available)
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii glibc-doc 2.10.1-5 GNU C Library: Documentation
ii locales 2.10.1-5 GNU C Library: National Language (
-- debconf information:
* glibc/upgrade: true
glibc/disable-screensaver:
glibc/restart-failed:
* glibc/restart-services: rsync openbsd-inetd exim4 cron atd
Reply to: