Re: no free() after malloc() in arp (src/usr.sbin/arp/arp.c)

2001-05-02 Thread Yar Tikhiy
On Mon, Apr 30, 2001 at 10:48:01PM -0400, Matthew Emmerton wrote: > > > i don't see a security issue in this, just want to ask if this is ok (or > > maybe unwanted?): > > > > in src/usr.sbin/arp/arp.c in function search() (starts line ~429) i see > > this (line ~447): > > > > if ((buf = m

Re: no free() after malloc() in arp (src/usr.sbin/arp/arp.c)

2001-04-30 Thread Matthew Emmerton
> i don't see a security issue in this, just want to ask if this is ok (or > maybe unwanted?): > > in src/usr.sbin/arp/arp.c in function search() (starts line ~429) i see > this (line ~447): > > if ((buf = malloc(needed)) == NULL) > > this allocated memory isn't free'd later in this func

no free() after malloc() in arp (src/usr.sbin/arp/arp.c)

2001-04-30 Thread alex
hi there, i don't see a security issue in this, just want to ask if this is ok (or maybe unwanted?): in src/usr.sbin/arp/arp.c in function search() (starts line ~429) i see this (line ~447): if ((buf = malloc(needed)) == NULL) got from: http://www.FreeBSD.org/cgi/cvsweb.cgi/src/usr.