Subject: Re: coredump filename format (2)
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: tech-kern
Date: 09/10/1999 09:55:18
On Fri, 10 Sep 1999, Manuel Bouyer wrote:
> I didn't catch this problem.=A0This can easily be solved by changing pl_c=
orename
> to a char *, with memory allocated on demand when it's changed (it would
> point to the defcorename[] otherwise). This should make things acceptable=
,
> isn't it ?
You'd need reference counting on the string so that you could free it when
no one else is using it. :-)
Otherwise it could be used as a DoS attack - trigger a memory leak in the
kernel. :-)
Take care,
Bill