[o2on-svn] [91] FIX: スレ番号が長すぎると落ちる

Zurück zum Archiv-Index

o2on svn commit o2on-****@lists*****
2008年 5月 24日 (土) 19:39:43 JST


Revision: 91
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=o2on&view=rev&rev=91
Author:   k-uehara
Date:     2008-05-24 19:39:43 +0900 (Sat, 24 May 2008)

Log Message:
-----------
FIX: スレ番号が長すぎると落ちる
http://pc11.2ch.net/test/read.cgi/tech/1180440415/856

Modified Paths:
--------------
    branches/BRANCH_0043/o2on/src.o2on/O2DatPath.h

Modified: branches/BRANCH_0043/o2on/src.o2on/O2DatPath.h
===================================================================
--- branches/BRANCH_0043/o2on/src.o2on/O2DatPath.h	2008-05-24 03:14:36 UTC (rev 90)
+++ branches/BRANCH_0043/o2on/src.o2on/O2DatPath.h	2008-05-24 10:39:43 UTC (rev 91)
@@ -336,7 +336,7 @@
 
 	bool checkdatname(const char *dat)
 	{
-		if (strlen(dat) < 13)
+		if (strlen(dat) < 13 || strlen(dat) > 15)
 			return false;
 
 		char *endptr;




o2on-svn メーリングリストの案内
Zurück zum Archiv-Index