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 AT dessent DOT net> X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Using malloc/realloc along with gdb: heap overflows References: <efacbe410708080926u6365eb63v381b7fa5d7972b03 AT mail DOT gmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/