Re: nd6_output() and NULL routes

2016-05-24 Thread Martin Pieuchot
On 24/05/16(Tue) 00:19, Alexander Bluhm wrote: > On Mon, May 23, 2016 at 04:55:06PM +0200, Martin Pieuchot wrote: > > @@ -1532,42 +1527,17 @@ nd6_output(struct ifnet *ifp, struct mbu > ... > > - /* > > -* Since nd6_is_addr_neighbor() internally calls nd6_lookup(), > > -

Re: Enforce ether_output() requirements

2016-05-24 Thread Martin Pieuchot
On 18/05/16(Wed) 22:56, Martin Pieuchot wrote: > Back in the old cool days you could simply call ether_output() with a > stuffed sockaddr and it will do the L2 resolution for you... Well as > long as you do not care about IPv6 it's true. > > During the last years I tried to reduce the number of p

Bridge STP and multicast address

2016-05-24 Thread Alexandre MOREL
Hi, Hope that I'm writing to the adequate mailing list in order to have some ideas or point of view about a functionality need after some troubleshoot with STP and other networks devices. In order to have two "redundancy" firewalls based on ethernet bridges, I have two servers with on each a brid

plug rt leak

2016-05-24 Thread Martin Pieuchot
Hrvoje Popovski founds that as soon as his ARP cache reached 2097152 entries his machine started leaking route entries. Turns out that with that many entries he exhausted malloc(9) and rt_setgate() started failing, leaking the rt->rt_parent reference. The diff below fixes the issue, ok? Index: n

Re: Missing strdup NULL checks in libfuse

2016-05-24 Thread Bob Beck
yes, absolutely. On Sat, May 21, 2016 at 3:14 AM, Ray Lai wrote: > Index: fuse.c > === > RCS file: /home/cvs/src/lib/libfuse/fuse.c,v > retrieving revision 1.27 > diff -u -p -u -p -r1.27 fuse.c > --- fuse.c 24 Dec 2015 17:02:37

Re: sed/regcomp bug?

2016-05-24 Thread Martijn van Duren
Hello tech@, Here's another shot at fixing the sed/regex bug. This time I've split it up in a libc/regex part and a sed part. The sed patch is still the same, but I'll resend it after the regex changes are in the tree.[1] I've had a lot of help from schwarze@ at testing the consequences of this p

Re: plug rt leak

2016-05-24 Thread Alexander Bluhm
On Tue, May 24, 2016 at 05:03:32PM +0200, Martin Pieuchot wrote: > Hrvoje Popovski founds that as soon as his ARP cache reached 2097152 > entries his machine started leaking route entries. > > Turns out that with that many entries he exhausted malloc(9) and > rt_setgate() started failing, leaking

usbtv driver port (questions)

2016-05-24 Thread patrick keshishian
Hi, I have a "mostly working" driver port for Fushicai Audio-Video Grabber (vendor 0x1b71 product 0x3002). I've had the video bit working for a few days on amd64 and macppc. I finally managed to get the audio bit working this morning on amd64, but still an encoding issue (LE vs BE) on macppc. I'

Re: Enforce ether_output() requirements

2016-05-24 Thread Alexander Bluhm
On Tue, May 24, 2016 at 09:27:54AM +0200, Martin Pieuchot wrote: > On 18/05/16(Wed) 22:56, Martin Pieuchot wrote: > > Back in the old cool days you could simply call ether_output() with a > > stuffed sockaddr and it will do the L2 resolution for you... Well as > > long as you do not care about IPv

[patch] fix use-after-free in ftp(1)

2016-05-24 Thread vladsotirov
Hello, I think I found a use-after-free bug and a manpage discrepancy. 1. ftp>newer prints nothing or garbage instead of the local filename, when alerting that the local file is newer than the remote file. I think this is because getit(argc, argv, -1, "w") frees globargv2, which is set equal to a