[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The patch of glibc which allows the user to override the pfinet serv
From: |
Samuel Thibault |
Subject: |
Re: The patch of glibc which allows the user to override the pfinet server |
Date: |
Tue, 12 Aug 2008 10:18:47 +0100 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
zhengda, le Sun 10 Aug 2008 19:42:18 +0200, a écrit :
> Samuel Thibault wrote:
> if (domain > max_domain || servers[domain] == MACH_PORT_NULL)
> {
> char *name = NULL;
> char *np = NULL;
>
> if (__asprintf (&name, "SOCK_SERV_%d", domain) > 0)
> {
> np = getenv (name);
> free (name);
> gdb shows the error happens here when 'name' is freed.
Oh, I know. Ierk.
You need to use __free. I wonder why the Hurd still has its own
malloc/free.
Samuel
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/09
- Re: The patch of glibc which allows the user to override the pfinet server, Samuel Thibault, 2008/08/09
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/10
- Re: The patch of glibc which allows the user to override the pfinet server, Samuel Thibault, 2008/08/10
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/10
- Re: The patch of glibc which allows the user to override the pfinet server, Samuel Thibault, 2008/08/10
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/10
- Re: The patch of glibc which allows the user to override the pfinet server, Samuel Thibault, 2008/08/10
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/10
- Re: The patch of glibc which allows the user to override the pfinet server,
Samuel Thibault <=
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/12
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/12
- Re: The patch of glibc which allows the user to override the pfinet server, olafBuddenhagen, 2008/08/13
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/13
- Re: The patch of glibc which allows the user to override the pfinet server, Neal H. Walfield, 2008/08/13
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/13
- Re: The patch of glibc which allows the user to override the pfinet server, Samuel Thibault, 2008/08/13
- Re: The patch of glibc which allows the user to override the pfinet server, olafBuddenhagen, 2008/08/14
- Re: The patch of glibc which allows the user to override the pfinet server, olafBuddenhagen, 2008/08/14
- Re: The patch of glibc which allows the user to override the pfinet server, zhengda, 2008/08/15