| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-developers-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin-developers AT sources DOT redhat DOT com |
| Date: | Fri, 23 Nov 2001 22:18:35 -0500 |
| From: | Christopher Faylor <cgf AT redhat DOT com> |
| To: | cygwin-developers AT cygwin DOT com |
| Subject: | Added some defensive code to net/socket functions |
| Message-ID: | <20011124031835.GA22045@redhat.com> |
| Reply-To: | cygwin-developers AT cygwin DOT com |
| Mail-Followup-To: | cygwin-developers AT cygwin DOT com |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.3.23.1i |
As I was in the process of adding the fd protection code that was just mentioned in the cygwin mailing list, I decided to add the normal buffer checking defensive code to most of the net/socket functions. I've verified that sshd, inetd, and telnetd still work, but I'd appreciate it if I could get some assurance that I haven't broken anything else. The checking in net.cc was a lot trickier than I had anticipated so I could easily have gotten something wrong. If someone could verify my changes, it would be great. And, if anyone wants to complete the last few functions that I didn't get to, that would be great, too. 'cvs diff -up -r1.86 -r1.87' should show you my changes. cgf
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |