X-Spam-Check-By: sourceware.org
Message-ID: <46BA289E.5F630AD@dessent.net>
Date: Wed, 08 Aug 2007 13:33:34 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Using malloc/realloc along with gdb: heap overflows
References: <efacbe410708080926u6365eb63v381b7fa5d7972b03@mail.gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


> 0x77c1794a in strncat () from /cygdrive/c/WINDOWS/system32/msvcrt.dll

This means that you built this testcase with MinGW or with -mno-cygwin,
which means that these implementations of malloc, realloc, etc. are
handled by the Microsoft C library (MSVCRT).  You essentially are not
using any part of Cygwin here, so any behavior of the heap and/or memory
allocation and/or any other standard C funtion that you call is not our
code that's running, so it's pretty much off-topic for this list.  The
MinGW list might be better.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

