apply(1): Fix segmentation faults

2018-03-21 Thread Tobias Stoeckmann
Hi, this patch merges FreeBSD bin/95079 into our apply(1) implementation. As we do not have an sbuf implementation, I have reworked the code to properly handle string operations. Turns out that this fixes an out of boundary write as well and made the code much more readable. While reviewing the c

dhclient hw_addr savvy

2018-03-21 Thread sven falempin
With no TABS because i m an idiot so use :%s/ /^->/g îs CTRL+V right, and -> is TAB Index: bpf.c === RCS file: /cvs/src/sbin/dhclient/bpf.c,v retrieving revision 1.69 diff -u -p -r1.69 bpf.c --- bpf.c 20 Sep 2017 18:28:14