delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <003101c17455$d9a3d700$0101a8c0@intelix.com> |
From: | "Joe Hagen" <jdhagen AT chorus DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | 1.3.5 access violation at 61013ED4 (net.cc) |
Date: | Fri, 23 Nov 2001 13:34:15 -0600 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Using the fetchmail program under NT4, the subject access violation occurred. Disassembly of the code revealed that it was in the "is_nonblocking()" method of an "fhandler_socket" object. In net.cc, there are unchecked results from an assignment to an fhandler_socket* from cygheap->fdtab[fd]. I suspect the file descriptor was NULL because of a socket connection loss. However, the member function is invoked unconditionally. The access violation is a result of dereferncing a member of the class using a NULL pointer. The affected functions are: cygwin_sendto cygwin_recvfrom cygwin_getpeername cygwin_recv cygwin_send I've created a patch file (diff -up) but this is my first time submitting a report. Thanks. Joe Hagen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |