Re: somewhat important inteldrm fix

2014-02-04 Thread Ted Unangst
On Tue, Feb 04, 2014 at 23:55, Mark Kettenis wrote: > Running the updated xf86-video-intel driver uncovered a bug in the > kernel drm code. The page fault handler wasn't handling some of the > possible errors correctly. This made the X server die with a SIGSEGV. > The diff below brings things clo

Re: ip6opt.c

2014-02-04 Thread Alexander Bluhm
On Tue, Feb 04, 2014 at 08:35:02PM -0500, Eitan Adler wrote: > Hi all, > > The following bug was recently fixed in DragonFlyBSD and FreeBSD: > > libc/net: Fix issue in inet6_opt_init() (from RFC 3542): > > * The RFC says (in section 10.1) that only when extbuf is not NULL, > extlen shall be chec

Re: na with router flag in ip_carp.c

2014-02-04 Thread Alexander Bluhm
On Tue, Feb 04, 2014 at 07:44:42PM +0100, Ole Myhre wrote: > Small patch that make carp send na with router flag set when > net.inet6.ip6.forwarding=1. Otherwise clients will lose the default > gateway during failover if it was learned from ra. I think the patch is correct, OK bluhm@ Note that

ip6opt.c

2014-02-04 Thread Eitan Adler
Hi all, The following bug was recently fixed in DragonFlyBSD and FreeBSD: libc/net: Fix issue in inet6_opt_init() (from RFC 3542): * The RFC says (in section 10.1) that only when extbuf is not NULL, extlen shall be checked, so don't perform this check when NULL is passed. Obtained by: DragonFly

Re: make ftpd restart beyond 2G

2014-02-04 Thread Todd C. Miller
I'd prefer something like this using strtoll(). We can't easily use strtonum() here since there can be anything past the digits. The lexer is in charge of matching whitespace and space and newlines are explicit in the yacc grammar. For numbers larger than INT_MAX the lexer now returns BIGNUM inst

somewhat important inteldrm fix

2014-02-04 Thread Mark Kettenis
Running the updated xf86-video-intel driver uncovered a bug in the kernel drm code. The page fault handler wasn't handling some of the possible errors correctly. This made the X server die with a SIGSEGV. The diff below brings things closer to what Linux does, and seems to fix the crashes I was s

na with router flag in ip_carp.c

2014-02-04 Thread Ole Myhre
Small patch that make carp send na with router flag set when net.inet6.ip6.forwarding=1. Otherwise clients will lose the default gateway during failover if it was learned from ra. Ole Myhre Index: sys/netinet/ip_carp.c === RCS fil

Re: Fix for CVE-2012-3509 libiberty: integer overflow, leading to heap-buffer overflow

2014-02-04 Thread Stuart Henderson
On 2014/02/03 21:48, Stuart Henderson wrote: > Which license is this patch under? Checked and these files are still under GPLv2 so we're ok from that respect. http://gcc.gnu.org/viewcvs/gcc/trunk/libiberty/objalloc.c?revision=191413&view=markup&pathrev=191413 http://gcc.gnu.org/viewcvs/gcc/trunk/

rtinit, RTF_HOST and netmask

2014-02-04 Thread Martin Pieuchot
Diff below removes an old comment about bsdi4 and make it clear that netmasks are not needed for routes to host. ok? Index: net/route.c === RCS file: /home/ncvs/src/sys/net/route.c,v retrieving revision 1.151 diff -u -p -r1.151 route