Re: malloc: handle to be cleaned chunks the same as regular ones

2023-02-24 Thread Theo Buehler
On Fri, Feb 24, 2023 at 08:13:13AM +0100, Otto Moerbeek wrote: > On Sat, Feb 18, 2023 at 04:12:08PM +0100, Otto Moerbeek wrote: > > > Hi, > > > > these recent sshd double free issue prompted me to look at malloc > > again. I have something bigger brewing, but this diff makes sure the > > to be cl

Re: malloc: handle to be cleaned chunks the same as regular ones

2023-02-23 Thread Otto Moerbeek
On Sat, Feb 18, 2023 at 04:12:08PM +0100, Otto Moerbeek wrote: > Hi, > > these recent sshd double free issue prompted me to look at malloc > again. I have something bigger brewing, but this diff makes sure the > to be cleaned chunks (via freezero() or malloc_conceal) particpate in > the delayed f

malloc: handle to be cleaned chunks the same as regular ones

2023-02-18 Thread Otto Moerbeek
Hi, these recent sshd double free issue prompted me to look at malloc again. I have something bigger brewing, but this diff makes sure the to be cleaned chunks (via freezero() or malloc_conceal) particpate in the delayed freeing just as others. -Otto Index: stdlib/malloc.c ==