<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'doublefree' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/doublefree</link>
		<description>doublefree</description>
		<language>ko</language>
		<pubDate>Mon, 18 Aug 2008 10:37:09 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[Double free]]></title>
	<link>http://purewell.egloos.com/3868782</link>
	<guid>http://purewell.egloos.com/3868782</guid>
	<description>
	<![CDATA[ 
각종 표준에는 이미 해체한 메모리를 다시 해체하려고 할 때 행동을 정의하지 않고 있으나, GLIBC는 깔끔하게 자살해주고 있다. 자살할 때 패턴을 눈에 익혀 놓으면 나중에 왜 죽었지?하는 일이 줄어들 것이다.    #include &amp;lt;stdlib.h&amp;gt;    int  main(int argc, char* argv[])  {      void* p(malloc(1024));              free(p);              free(p);              return 0;  }    컴파일 및 실행    $ g++ -O2 -g dblfree.cpp -o dblfree    $ ./dblfree  *** glibc detected *** ./dblfree: double free or 	]]>
	</description>
	<pubDate>Mon, 18 Aug 2008 10:37:09 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
	</channel>
</rss>

