Using malloc/realloc along with gdb: heap overflows

Brian Dessent brian@dessent.net
Wed Aug 8 20:51:00 GMT 2007


> 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/



More information about the Cygwin mailing list