projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab07dec
)
[BOOTLIB]
author
Pierre Schweitzer
<pierre@reactos.org>
Thu, 14 Jul 2016 13:04:08 +0000
(13:04 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Thu, 14 Jul 2016 13:04:08 +0000
(13:04 +0000)
Fix checksum computation
CID #
1363451
svn path=/trunk/; revision=71941
reactos/boot/environ/lib/misc/util.c
patch
|
blob
|
history
diff --git
a/reactos/boot/environ/lib/misc/util.c
b/reactos/boot/environ/lib/misc/util.c
index
3e152d3
..
c7ca31a
100644
(file)
--- a/
reactos/boot/environ/lib/misc/util.c
+++ b/
reactos/boot/environ/lib/misc/util.c
@@
-749,7
+749,7
@@
BlUtlCheckSum (
}
}
- if (
Length
!= Length)
+ if (
i
!= Length)
{
PartialSum += (unsigned __int8)Buffer[Length];
if (Flags & BL_UTL_CHECKSUM_COMPLEMENT)