Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» CnCRC32的BUG
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: CnCRC32的BUG
moremay
新警察
UID 42200
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-4-16
Status Offline
#1
Post at 2009-4-16 10:36
Profile
|
Blog
|
P.M.
CnCRC32的BUG
此BUG好像一直存在,没人报告吗?
20090404版
CRC32Calc 函数
130 SHR EAX, 8
131 AND EAX, $00FFFFFF // shr 是用0填补高位,多余?
132 XOR EAX, [EBX + ESI]
TCRC32Table不是字节数组,EBX应该×4:
XOR EAX, [EBX*4 + ESI]
标号@Upd及@Exit前应该对CRC值异或
XOR EAX,-1
函数FileCRC32
187 CRC:=not CRC;
应该删除
moremay
新警察
UID 42200
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-4-16
Status Offline
#2
Post at 2009-4-16 10:39
Profile
|
Blog
|
P.M.
2008-7-28的帖子
http://bbs.cnpack.org/viewthread.php?tid=2178&extra=page%3D1
提到的与用Magic SFV & MD5校验出来的crc值不一样应该就是此BUG造成的
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2009-4-16 10:44
Profile
|
Blog
|
P.M.
谢谢报告,我们检查一下。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#4
Post at 2009-4-16 16:00
Profile
|
Blog
|
P.M.
的确如楼主所说,此段代码存在bug。
感谢报告,目前此问题已修正。楼主也进入我们的有贡献人员名单。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-25 01:11
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.011129 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats