tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernel stack usage



On Sat, May 30, 2020 at 11:52:18AM +0200, Martin Husemann wrote:
> 1248    aubtfwl_attach_hook at aubtfwl.c:273
> 

I took care of this.  It was placing MAXPATHLEN+1 chars on the stack.

While PNBUF_GET/PUT() seemed like a possible choice, I decided on
kmem_asprintf()/kmem_strfree(), as in reality it needs nowhere near a
MAXPATHLEN.


Home | Main Index | Thread Index | Old Index