<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Pidgin 2.4.1 &#8220;patch It!&#8221;</title>
	<atom:link href="http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/</link>
	<description>夏有涼風冬有雪</description>
	<lastBuildDate>Fri, 21 Oct 2011 05:51:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Finch(Pidgin) Alias++ Patch at 林光生活兩光過</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-262</link>
		<dc:creator>Finch(Pidgin) Alias++ Patch at 林光生活兩光過</dc:creator>
		<pubDate>Wed, 07 May 2008 19:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-262</guid>
		<description>[...] List 裡顯示出來的名稱便只有 Alias，原先的名稱不會再顯示出來了。所以 chenpc 之前做了一個 patch 來解決這件事，只是他老人家懶得做成 optional 的版本，所以我從它的 patch [...]</description>
		<content:encoded><![CDATA[<p>[...] List 裡顯示出來的名稱便只有 Alias，原先的名稱不會再顯示出來了。所以 chenpc 之前做了一個 patch 來解決這件事，只是他老人家懶得做成 optional 的版本，所以我從它的 patch [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yzlin</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-261</link>
		<dc:creator>yzlin</dc:creator>
		<pubDate>Tue, 06 May 2008 18:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-261</guid>
		<description>po 在你這吧！
http://vip.cs.nctu.edu.tw/~yzlin/finch/patch-gntblist.c
http://vip.cs.nctu.edu.tw/~yzlin/finch/patch-gntprefs.c</description>
		<content:encoded><![CDATA[<p>po 在你這吧！<br />
<a href="http://vip.cs.nctu.edu.tw/~yzlin/finch/patch-gntblist.c" rel="nofollow">http://vip.cs.nctu.edu.tw/~yzlin/finch/patch-gntblist.c</a><br />
<a href="http://vip.cs.nctu.edu.tw/~yzlin/finch/patch-gntprefs.c" rel="nofollow">http://vip.cs.nctu.edu.tw/~yzlin/finch/patch-gntprefs.c</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chenpc</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-260</link>
		<dc:creator>chenpc</dc:creator>
		<pubDate>Tue, 06 May 2008 16:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-260</guid>
		<description>感謝ly和yzlin又patch了它。
需要patch去跟他們要～XD</description>
		<content:encoded><![CDATA[<p>感謝ly和yzlin又patch了它。<br />
需要patch去跟他們要～XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ly</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-259</link>
		<dc:creator>ly</dc:creator>
		<pubDate>Tue, 06 May 2008 10:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-259</guid>
		<description>lw果然威阿</description>
		<content:encoded><![CDATA[<p>lw果然威阿</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chenpc</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-257</link>
		<dc:creator>chenpc</dc:creator>
		<pubDate>Mon, 05 May 2008 09:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-257</guid>
		<description>但是不能同時顯示暱稱和別名。</description>
		<content:encoded><![CDATA[<p>但是不能同時顯示暱稱和別名。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rascov</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-255</link>
		<dc:creator>rascov</dc:creator>
		<pubDate>Sun, 04 May 2008 19:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-255</guid>
		<description>其實
msn不用plus就可以設暱稱了啊 XD</description>
		<content:encoded><![CDATA[<p>其實<br />
msn不用plus就可以設暱稱了啊 XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lwhsu</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-251</link>
		<dc:creator>lwhsu</dc:creator>
		<pubDate>Sat, 03 May 2008 08:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-251</guid>
		<description>Sorry, char* -&gt; const char * 的 cast 應該是 ok 的，我剛在想什麼 XD</description>
		<content:encoded><![CDATA[<p>Sorry, char* -&gt; const char * 的 cast 應該是 ok 的，我剛在想什麼 XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lwhsu</title>
		<link>http://chenpc.csie.in/2008/05/03/pidgin-241-patch-it/comment-page-1/#comment-250</link>
		<dc:creator>lwhsu</dc:creator>
		<pubDate>Sat, 03 May 2008 08:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://chenpc.csie.net/?p=248#comment-250</guid>
		<description>這個... patch 有點糟糕 @@

先不說 return type 是 const char *
結果你 return 的是 char*

你在這個 function 最後 return 的是一個 local variable address, 那個 char name[4096] 的 life time 只有在這個 function 裡面，這樣子 return 回去的只是一個沒有意義的 pointer，指向未配置的空間，這有可能會造成安全的問題。

還有... name[] 有可能會被 buffer overflow  ，boundary check 要記得做...</description>
		<content:encoded><![CDATA[<p>這個&#8230; patch 有點糟糕 @@</p>
<p>先不說 return type 是 const char *<br />
結果你 return 的是 char*</p>
<p>你在這個 function 最後 return 的是一個 local variable address, 那個 char name[4096] 的 life time 只有在這個 function 裡面，這樣子 return 回去的只是一個沒有意義的 pointer，指向未配置的空間，這有可能會造成安全的問題。</p>
<p>還有&#8230; name[] 有可能會被 buffer overflow  ，boundary check 要記得做&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

