Messages in this thread | | | Date | Tue, 18 Aug 1998 10:52:36 -0600 (MDT) | From | Dax Kelson <> | Subject | Linux recvfrom() broken (was: DNS problems) |
| |
---------- Forwarded message ---------- Date: Tue, 18 Aug 1998 09:57:51 -0700 From: Paul A Vixie <paul@vix.com> To: Dax Kelson <dkelson@inconnect.com> Cc: Mark.Andrews@dms.csiro.au, halley@vix.com Subject: Re: More from BIND maintainers (fwd)
> From: D. J. Bernstein <djb@cr.yp.to> > > Bullshit. The recvfrom() return value is limited to the size of the > supplied buffer.
better fix those kernels then.
> This means, for example, that if some version of res_mkquery() sets > the query rcode to 2, and the server legitimately responds with an > 1147-byte UDP packet, but the buffer size is only 512, then the return > value from res_send() will be 512, not 1147, and the suggested ``fix'' > will fail.
a legitimate 1147-byte DNS UDP packet is an interesting concept.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |