Author: pschweitzer Date: Thu Jul 14 13:04:08 2016 New Revision: 71941
URL: http://svn.reactos.org/svn/reactos?rev=71941&view=rev Log: [BOOTLIB] Fix checksum computation
CID #1363451
Modified: trunk/reactos/boot/environ/lib/misc/util.c
Modified: trunk/reactos/boot/environ/lib/misc/util.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/misc/util.... ============================================================================== --- trunk/reactos/boot/environ/lib/misc/util.c [iso-8859-1] (original) +++ trunk/reactos/boot/environ/lib/misc/util.c [iso-8859-1] Thu Jul 14 13:04:08 2016 @@ -749,7 +749,7 @@ } }
- if (Length != Length) + if (i != Length) { PartialSum += (unsigned __int8)Buffer[Length]; if (Flags & BL_UTL_CHECKSUM_COMPLEMENT)