• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョン38620345658c63e840fa77ceea3edbad7549e80f (tree)
日時2008-05-08 19:01:49
作者eru <eru01@user...>
コミッターeru

ログメッセージ

IM0027-4

変更サマリ

差分

--- a/PeerCast.root/PeerCast/core/common/channel.cpp
+++ b/PeerCast.root/PeerCast/core/common/channel.cpp
@@ -570,7 +570,7 @@ int Channel::handshakeFetch()
570570 if (http.isHeader(PCX_HS_POS))
571571 streamPos = atoi(arg);
572572 else
573- Servent::readICYHeader(http, info, NULL);
573+ Servent::readICYHeader(http, info, NULL, 0);
574574
575575 LOG_CHANNEL("Channel fetch: %s",http.cmdLine);
576576 }
--- a/PeerCast.root/PeerCast/core/common/http.cpp
+++ b/PeerCast.root/PeerCast/core/common/http.cpp
@@ -107,7 +107,7 @@ int HTTP::getArgInt()
107107 return 0;
108108 }
109109 //-----------------------------------------
110-void HTTP::getAuthUserPass(char *user, char *pass)
110+void HTTP::getAuthUserPass(char *user, char *pass, size_t szUser, size_t szPass)
111111 {
112112 if (arg)
113113 {
@@ -125,9 +125,15 @@ void HTTP::getAuthUserPass(char *user, char *pass)
125125 {
126126 *s = 0;
127127 if (user)
128- strcpy(user,str.cstr());
128+ {
129+ strncpy(user, str.cstr(), szUser);
130+ user[szUser-1] = '\0';
131+ }
129132 if (pass)
130- strcpy(pass,s+1);
133+ {
134+ strncpy(pass, s+1, szPass);
135+ pass[szPass-1] = '\0';
136+ }
131137 }
132138 }
133139 }
--- a/PeerCast.root/PeerCast/core/common/http.h
+++ b/PeerCast.root/PeerCast/core/common/http.h
@@ -176,7 +176,7 @@ public:
176176 char *getArgStr();
177177 int getArgInt();
178178
179- void getAuthUserPass(char *, char *);
179+ void getAuthUserPass(char *, char *, size_t, size_t);
180180
181181 char cmdLine[8192],*arg;
182182
--- a/PeerCast.root/PeerCast/core/common/servent.h
+++ b/PeerCast.root/PeerCast/core/common/servent.h
@@ -213,7 +213,7 @@ public:
213213 void sendPCPChannel();
214214 void checkPCPComms(Channel *, AtomStream &);
215215
216- static void readICYHeader(HTTP &, ChanInfo &, char *);
216+ static void readICYHeader(HTTP &, ChanInfo &, char *, size_t);
217217 bool canStream(Channel *);
218218
219219 bool isConnected() {return status == S_CONNECTED;}
--- a/PeerCast.root/PeerCast/core/common/servhs.cpp
+++ b/PeerCast.root/PeerCast/core/common/servhs.cpp
@@ -726,7 +726,7 @@ bool Servent::handshakeAuth(HTTP &http,const char *args,bool local)
726726 {
727727 case ServMgr::AUTH_HTTPBASIC:
728728 if (http.isHeader("Authorization"))
729- http.getAuthUserPass(user,pass);
729+ http.getAuthUserPass(user, pass, sizeof(user), sizeof(pass));
730730 break;
731731 case ServMgr::AUTH_COOKIE:
732732 if (http.isHeader("Cookie"))
@@ -1708,7 +1708,7 @@ void Servent::handshakeXML()
17081708
17091709 }
17101710 // -----------------------------------
1711-void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd)
1711+void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd, size_t szPwd)
17121712 {
17131713 char *arg = http.getArgStr();
17141714 if (!arg) return;
@@ -1733,7 +1733,7 @@ void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd)
17331733 info.desc.convertTo(String::T_UNICODE);
17341734
17351735 }else if (http.isHeader("Authorization"))
1736- http.getAuthUserPass(NULL,pwd);
1736+ http.getAuthUserPass(NULL, pwd, 0, sizeof(pwd));
17371737 else if (http.isHeader(PCX_HS_CHANNELID))
17381738 info.id.fromStr(arg);
17391739 else if (http.isHeader("ice-password"))
@@ -1804,7 +1804,7 @@ void Servent::handshakeICY(Channel::SRC_TYPE type, bool isHTTP)
18041804 while (http.nextHeader())
18051805 {
18061806 LOG_DEBUG("ICY %s",http.cmdLine);
1807- readICYHeader(http,info,loginPassword.cstr());
1807+ readICYHeader(http, info, loginPassword.cstr(), loginPassword.MAX_LEN);
18081808 }
18091809
18101810
--- a/PeerCast.root/PeerCast/core/common/url.cpp
+++ b/PeerCast.root/PeerCast/core/common/url.cpp
@@ -180,7 +180,7 @@ int URLSource::getSourceRate()
180180 LOG_CHANNEL("Fetch HTTP: %s",http.cmdLine);
181181
182182 ChanInfo tmpInfo = ch->info;
183- Servent::readICYHeader(http,ch->info,NULL);
183+ Servent::readICYHeader(http, ch->info, NULL, 0);
184184
185185 if (!tmpInfo.name.isEmpty())
186186 ch->info.name = tmpInfo.name;
--- a/PeerCast.root/PeerCast/core/common/version2.h
+++ b/PeerCast.root/PeerCast/core/common/version2.h
@@ -45,8 +45,8 @@ extern int version_ex; // PP
4545 //#define VERSION_EX 1
4646 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
4747 static const int PCP_CLIENT_VERSION_EX_NUMBER = 27;
48-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-3)";
49-static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-3)";
48+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-4)";
49+static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-4)";
5050 #endif
5151
5252 // ------------------------------------------------
--- a/PeerCast.root/PeerCast/core/win32/lib/corelib.vcproj
+++ b/PeerCast.root/PeerCast/core/win32/lib/corelib.vcproj
@@ -1,13 +1,14 @@
11 <?xml version="1.0" encoding="shift_jis"?>
22 <VisualStudioProject
33 ProjectType="Visual C++"
4- Version="8.00"
4+ Version="9.00"
55 Name="corelib"
66 ProjectGUID="{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}"
77 RootNamespace="corelib"
88 SccProjectName="&quot;$/PeerCast.root/PeerCast&quot;, JCAAAAAA"
99 SccLocalPath="..\..\.."
1010 SccProvider="MSSCCI:Microsoft Visual SourceSafe"
11+ TargetFrameworkVersion="131072"
1112 >
1213 <Platforms>
1314 <Platform
@@ -196,8 +197,10 @@
196197 <Tool
197198 Name="VCCLCompilerTool"
198199 Optimization="2"
199- InlineFunctionExpansion="1"
200+ InlineFunctionExpansion="2"
200201 EnableIntrinsicFunctions="true"
202+ FavorSizeOrSpeed="1"
203+ EnableFiberSafeOptimizations="true"
201204 AdditionalIncludeDirectories="../../,../../common"
202205 PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
203206 StringPooling="true"
--- a/PeerCast.root/PeerCast/ui/win32/PeerCast.sln
+++ b/PeerCast.root/PeerCast/ui/win32/PeerCast.sln
@@ -1,6 +1,11 @@
11 
2-Microsoft Visual Studio Solution File, Format Version 9.00
3-# Visual Studio 2005
2+Microsoft Visual Studio Solution File, Format Version 10.00
3+# Visual Studio 2008
4+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}"
5+ ProjectSection(SolutionItems) = preProject
6+ memo.txt = memo.txt
7+ EndProjectSection
8+EndProject
49 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "corelib", "..\..\core\win32\lib\corelib.vcproj", "{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}"
510 EndProject
611 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcproj", "{7D4833CE-1286-4587-9470-52E098B29C12}"
@@ -8,11 +13,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcp
813 {7BCFE65B-8757-45F3-8DFB-1E7D683950D1} = {7BCFE65B-8757-45F3-8DFB-1E7D683950D1}
914 EndProjectSection
1015 EndProject
11-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}"
12- ProjectSection(SolutionItems) = preProject
13- memo.txt = memo.txt
14- EndProjectSection
15-EndProject
1616 Global
1717 GlobalSection(SourceCodeControl) = preSolution
1818 SccNumberOfProjects = 3
--- a/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
+++ b/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
@@ -1,13 +1,14 @@
11 <?xml version="1.0" encoding="shift_jis"?>
22 <VisualStudioProject
33 ProjectType="Visual C++"
4- Version="8.00"
4+ Version="9.00"
55 Name="Simple"
66 ProjectGUID="{7D4833CE-1286-4587-9470-52E098B29C12}"
77 RootNamespace="Simple"
88 SccProjectName="&quot;$/PeerCast.root/PeerCast&quot;, JCAAAAAA"
99 SccLocalPath="..\..\.."
1010 SccProvider="MSSCCI:Microsoft Visual SourceSafe"
11+ TargetFrameworkVersion="131072"
1112 >
1213 <Platforms>
1314 <Platform
@@ -85,6 +86,8 @@
8586 GenerateDebugInformation="true"
8687 ProgramDatabaseFile=".\Simple___Win32_Private_Debug/PeerCast.pdb"
8788 SubSystem="2"
89+ RandomizedBaseAddress="1"
90+ DataExecutionPrevention="0"
8891 TargetMachine="1"
8992 />
9093 <Tool
@@ -108,9 +111,6 @@
108111 Name="VCAppVerifierTool"
109112 />
110113 <Tool
111- Name="VCWebDeploymentTool"
112- />
113- <Tool
114114 Name="VCPostBuildEventTool"
115115 Description="Copy exe to program files"
116116 CommandLine="copy debug\peercast.exe &quot;c:\program files\peercast&quot;"
@@ -154,6 +154,7 @@
154154 InlineFunctionExpansion="1"
155155 EnableIntrinsicFunctions="true"
156156 FavorSizeOrSpeed="0"
157+ EnableFiberSafeOptimizations="true"
157158 AdditionalIncludeDirectories="../../../core,../../../core/common"
158159 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
159160 StringPooling="true"
@@ -187,6 +188,8 @@
187188 AdditionalLibraryDirectories="&quot;C:\Visual Studio Projects\PeCa-IMAS7651\core\win32\lib\Release&quot;"
188189 ProgramDatabaseFile=".\Release/PeerCast.pdb"
189190 SubSystem="2"
191+ RandomizedBaseAddress="1"
192+ DataExecutionPrevention="0"
190193 TargetMachine="1"
191194 />
192195 <Tool
@@ -210,9 +213,6 @@
210213 Name="VCAppVerifierTool"
211214 />
212215 <Tool
213- Name="VCWebDeploymentTool"
214- />
215- <Tool
216216 Name="VCPostBuildEventTool"
217217 Description="Copy exe to pimp"
218218 CommandLine="copy release\peercast.exe ..\pimp\&#x0D;&#x0A;"
@@ -285,6 +285,8 @@
285285 SuppressStartupBanner="true"
286286 ProgramDatabaseFile=".\Simple___Win32_Private_Release/PeerCast.pdb"
287287 SubSystem="2"
288+ RandomizedBaseAddress="1"
289+ DataExecutionPrevention="0"
288290 TargetMachine="1"
289291 />
290292 <Tool
@@ -308,9 +310,6 @@
308310 Name="VCAppVerifierTool"
309311 />
310312 <Tool
311- Name="VCWebDeploymentTool"
312- />
313- <Tool
314313 Name="VCPostBuildEventTool"
315314 Description="Copy exe to pimp &amp; program files"
316315 CommandLine="copy release\peercast.exe &quot;c:\program files\peercast&quot;&#x0D;&#x0A;copy release\peercast.exe ..\pimp\&#x0D;&#x0A;"
@@ -386,6 +385,8 @@
386385 ProgramDatabaseFile=".\Debug/PeerCast.pdb"
387386 SubSystem="2"
388387 HeapReserveSize="4194304"
388+ RandomizedBaseAddress="1"
389+ DataExecutionPrevention="0"
389390 TargetMachine="1"
390391 />
391392 <Tool
@@ -409,9 +410,6 @@
409410 Name="VCAppVerifierTool"
410411 />
411412 <Tool
412- Name="VCWebDeploymentTool"
413- />
414- <Tool
415413 Name="VCPostBuildEventTool"
416414 Description="Copy exe to program files"
417415 CommandLine="copy debug\peercast.exe &quot;c:\program files\peercast&quot;"
--- a/c:/Git/PeerCast.root/PeerCast/core/common/channel.cpp
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/channel.cpp
@@ -570,7 +570,7 @@ int Channel::handshakeFetch()
570570 if (http.isHeader(PCX_HS_POS))
571571 streamPos = atoi(arg);
572572 else
573- Servent::readICYHeader(http, info, NULL);
573+ Servent::readICYHeader(http, info, NULL, 0);
574574
575575 LOG_CHANNEL("Channel fetch: %s",http.cmdLine);
576576 }
--- a/c:/Git/PeerCast.root/PeerCast/core/common/http.cpp
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/http.cpp
@@ -107,7 +107,7 @@ int HTTP::getArgInt()
107107 return 0;
108108 }
109109 //-----------------------------------------
110-void HTTP::getAuthUserPass(char *user, char *pass)
110+void HTTP::getAuthUserPass(char *user, char *pass, size_t szUser, size_t szPass)
111111 {
112112 if (arg)
113113 {
@@ -125,9 +125,15 @@ void HTTP::getAuthUserPass(char *user, char *pass)
125125 {
126126 *s = 0;
127127 if (user)
128- strcpy(user,str.cstr());
128+ {
129+ strncpy(user, str.cstr(), szUser);
130+ user[szUser-1] = '\0';
131+ }
129132 if (pass)
130- strcpy(pass,s+1);
133+ {
134+ strncpy(pass, s+1, szPass);
135+ pass[szPass-1] = '\0';
136+ }
131137 }
132138 }
133139 }
--- a/c:/Git/PeerCast.root/PeerCast/core/common/http.h
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/http.h
@@ -176,7 +176,7 @@ public:
176176 char *getArgStr();
177177 int getArgInt();
178178
179- void getAuthUserPass(char *, char *);
179+ void getAuthUserPass(char *, char *, size_t, size_t);
180180
181181 char cmdLine[8192],*arg;
182182
--- a/c:/Git/PeerCast.root/PeerCast/core/common/servent.h
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/servent.h
@@ -213,7 +213,7 @@ public:
213213 void sendPCPChannel();
214214 void checkPCPComms(Channel *, AtomStream &);
215215
216- static void readICYHeader(HTTP &, ChanInfo &, char *);
216+ static void readICYHeader(HTTP &, ChanInfo &, char *, size_t);
217217 bool canStream(Channel *);
218218
219219 bool isConnected() {return status == S_CONNECTED;}
--- a/c:/Git/PeerCast.root/PeerCast/core/common/servhs.cpp
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/servhs.cpp
@@ -726,7 +726,7 @@ bool Servent::handshakeAuth(HTTP &http,const char *args,bool local)
726726 {
727727 case ServMgr::AUTH_HTTPBASIC:
728728 if (http.isHeader("Authorization"))
729- http.getAuthUserPass(user,pass);
729+ http.getAuthUserPass(user, pass, sizeof(user), sizeof(pass));
730730 break;
731731 case ServMgr::AUTH_COOKIE:
732732 if (http.isHeader("Cookie"))
@@ -1708,7 +1708,7 @@ void Servent::handshakeXML()
17081708
17091709 }
17101710 // -----------------------------------
1711-void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd)
1711+void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd, size_t szPwd)
17121712 {
17131713 char *arg = http.getArgStr();
17141714 if (!arg) return;
@@ -1733,7 +1733,7 @@ void Servent::readICYHeader(HTTP &http, ChanInfo &info, char *pwd)
17331733 info.desc.convertTo(String::T_UNICODE);
17341734
17351735 }else if (http.isHeader("Authorization"))
1736- http.getAuthUserPass(NULL,pwd);
1736+ http.getAuthUserPass(NULL, pwd, 0, sizeof(pwd));
17371737 else if (http.isHeader(PCX_HS_CHANNELID))
17381738 info.id.fromStr(arg);
17391739 else if (http.isHeader("ice-password"))
@@ -1804,7 +1804,7 @@ void Servent::handshakeICY(Channel::SRC_TYPE type, bool isHTTP)
18041804 while (http.nextHeader())
18051805 {
18061806 LOG_DEBUG("ICY %s",http.cmdLine);
1807- readICYHeader(http,info,loginPassword.cstr());
1807+ readICYHeader(http, info, loginPassword.cstr(), loginPassword.MAX_LEN);
18081808 }
18091809
18101810
--- a/c:/Git/PeerCast.root/PeerCast/core/common/url.cpp
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/url.cpp
@@ -180,7 +180,7 @@ int URLSource::getSourceRate()
180180 LOG_CHANNEL("Fetch HTTP: %s",http.cmdLine);
181181
182182 ChanInfo tmpInfo = ch->info;
183- Servent::readICYHeader(http,ch->info,NULL);
183+ Servent::readICYHeader(http, ch->info, NULL, 0);
184184
185185 if (!tmpInfo.name.isEmpty())
186186 ch->info.name = tmpInfo.name;
--- a/c:/Git/PeerCast.root/PeerCast/core/common/version2.h
+++ b/c:/Git/PeerCast.root/PeerCast/core/common/version2.h
@@ -45,8 +45,8 @@ extern int version_ex; // PP
4545 //#define VERSION_EX 1
4646 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
4747 static const int PCP_CLIENT_VERSION_EX_NUMBER = 27;
48-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-3)";
49-static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-3)";
48+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0027-4)";
49+static const char *PCX_VERSTRING_EX = "v0.1218(IM0027-4)";
5050 #endif
5151
5252 // ------------------------------------------------
--- a/c:/Git/PeerCast.root/PeerCast/core/win32/lib/corelib.vcproj
+++ b/c:/Git/PeerCast.root/PeerCast/core/win32/lib/corelib.vcproj
@@ -1,13 +1,14 @@
11 <?xml version="1.0" encoding="shift_jis"?>
22 <VisualStudioProject
33 ProjectType="Visual C++"
4- Version="8.00"
4+ Version="9.00"
55 Name="corelib"
66 ProjectGUID="{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}"
77 RootNamespace="corelib"
88 SccProjectName="&quot;$/PeerCast.root/PeerCast&quot;, JCAAAAAA"
99 SccLocalPath="..\..\.."
1010 SccProvider="MSSCCI:Microsoft Visual SourceSafe"
11+ TargetFrameworkVersion="131072"
1112 >
1213 <Platforms>
1314 <Platform
@@ -196,8 +197,10 @@
196197 <Tool
197198 Name="VCCLCompilerTool"
198199 Optimization="2"
199- InlineFunctionExpansion="1"
200+ InlineFunctionExpansion="2"
200201 EnableIntrinsicFunctions="true"
202+ FavorSizeOrSpeed="1"
203+ EnableFiberSafeOptimizations="true"
201204 AdditionalIncludeDirectories="../../,../../common"
202205 PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
203206 StringPooling="true"
--- a/c:/Git/PeerCast.root/PeerCast/ui/win32/PeerCast.sln
+++ b/c:/Git/PeerCast.root/PeerCast/ui/win32/PeerCast.sln
@@ -1,6 +1,11 @@
11 
2-Microsoft Visual Studio Solution File, Format Version 9.00
3-# Visual Studio 2005
2+Microsoft Visual Studio Solution File, Format Version 10.00
3+# Visual Studio 2008
4+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}"
5+ ProjectSection(SolutionItems) = preProject
6+ memo.txt = memo.txt
7+ EndProjectSection
8+EndProject
49 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "corelib", "..\..\core\win32\lib\corelib.vcproj", "{7BCFE65B-8757-45F3-8DFB-1E7D683950D1}"
510 EndProject
611 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcproj", "{7D4833CE-1286-4587-9470-52E098B29C12}"
@@ -8,11 +13,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Simple", "simple\Simple.vcp
813 {7BCFE65B-8757-45F3-8DFB-1E7D683950D1} = {7BCFE65B-8757-45F3-8DFB-1E7D683950D1}
914 EndProjectSection
1015 EndProject
11-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00D364AE-DB2F-4109-A925-31B4F129D613}"
12- ProjectSection(SolutionItems) = preProject
13- memo.txt = memo.txt
14- EndProjectSection
15-EndProject
1616 Global
1717 GlobalSection(SourceCodeControl) = preSolution
1818 SccNumberOfProjects = 3
--- a/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
+++ b/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
@@ -1,13 +1,14 @@
11 <?xml version="1.0" encoding="shift_jis"?>
22 <VisualStudioProject
33 ProjectType="Visual C++"
4- Version="8.00"
4+ Version="9.00"
55 Name="Simple"
66 ProjectGUID="{7D4833CE-1286-4587-9470-52E098B29C12}"
77 RootNamespace="Simple"
88 SccProjectName="&quot;$/PeerCast.root/PeerCast&quot;, JCAAAAAA"
99 SccLocalPath="..\..\.."
1010 SccProvider="MSSCCI:Microsoft Visual SourceSafe"
11+ TargetFrameworkVersion="131072"
1112 >
1213 <Platforms>
1314 <Platform
@@ -85,6 +86,8 @@
8586 GenerateDebugInformation="true"
8687 ProgramDatabaseFile=".\Simple___Win32_Private_Debug/PeerCast.pdb"
8788 SubSystem="2"
89+ RandomizedBaseAddress="1"
90+ DataExecutionPrevention="0"
8891 TargetMachine="1"
8992 />
9093 <Tool
@@ -108,9 +111,6 @@
108111 Name="VCAppVerifierTool"
109112 />
110113 <Tool
111- Name="VCWebDeploymentTool"
112- />
113- <Tool
114114 Name="VCPostBuildEventTool"
115115 Description="Copy exe to program files"
116116 CommandLine="copy debug\peercast.exe &quot;c:\program files\peercast&quot;"
@@ -154,6 +154,7 @@
154154 InlineFunctionExpansion="1"
155155 EnableIntrinsicFunctions="true"
156156 FavorSizeOrSpeed="0"
157+ EnableFiberSafeOptimizations="true"
157158 AdditionalIncludeDirectories="../../../core,../../../core/common"
158159 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
159160 StringPooling="true"
@@ -187,6 +188,8 @@
187188 AdditionalLibraryDirectories="&quot;C:\Visual Studio Projects\PeCa-IMAS7651\core\win32\lib\Release&quot;"
188189 ProgramDatabaseFile=".\Release/PeerCast.pdb"
189190 SubSystem="2"
191+ RandomizedBaseAddress="1"
192+ DataExecutionPrevention="0"
190193 TargetMachine="1"
191194 />
192195 <Tool
@@ -210,9 +213,6 @@
210213 Name="VCAppVerifierTool"
211214 />
212215 <Tool
213- Name="VCWebDeploymentTool"
214- />
215- <Tool
216216 Name="VCPostBuildEventTool"
217217 Description="Copy exe to pimp"
218218 CommandLine="copy release\peercast.exe ..\pimp\&#x0D;&#x0A;"
@@ -285,6 +285,8 @@
285285 SuppressStartupBanner="true"
286286 ProgramDatabaseFile=".\Simple___Win32_Private_Release/PeerCast.pdb"
287287 SubSystem="2"
288+ RandomizedBaseAddress="1"
289+ DataExecutionPrevention="0"
288290 TargetMachine="1"
289291 />
290292 <Tool
@@ -308,9 +310,6 @@
308310 Name="VCAppVerifierTool"
309311 />
310312 <Tool
311- Name="VCWebDeploymentTool"
312- />
313- <Tool
314313 Name="VCPostBuildEventTool"
315314 Description="Copy exe to pimp &amp; program files"
316315 CommandLine="copy release\peercast.exe &quot;c:\program files\peercast&quot;&#x0D;&#x0A;copy release\peercast.exe ..\pimp\&#x0D;&#x0A;"
@@ -386,6 +385,8 @@
386385 ProgramDatabaseFile=".\Debug/PeerCast.pdb"
387386 SubSystem="2"
388387 HeapReserveSize="4194304"
388+ RandomizedBaseAddress="1"
389+ DataExecutionPrevention="0"
389390 TargetMachine="1"
390391 />
391392 <Tool
@@ -409,9 +410,6 @@
409410 Name="VCAppVerifierTool"
410411 />
411412 <Tool
412- Name="VCWebDeploymentTool"
413- />
414- <Tool
415413 Name="VCPostBuildEventTool"
416414 Description="Copy exe to program files"
417415 CommandLine="copy debug\peercast.exe &quot;c:\program files\peercast&quot;"