projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfabaca
)
RtlLargeIntegerArithmeticShift() shouldn't return uninitialized data from the stack
author
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 11 Dec 2004 15:23:51 +0000
(15:23 +0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 11 Dec 2004 15:23:51 +0000
(15:23 +0000)
svn path=/trunk/; revision=12015
reactos/lib/rtl/largeint.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/largeint.c
b/reactos/lib/rtl/largeint.c
index
b520bb0
..
1b6ffb7
100644
(file)
--- a/
reactos/lib/rtl/largeint.c
+++ b/
reactos/lib/rtl/largeint.c
@@
-1,4
+1,4
@@
-/* $Id: largeint.c,v 1.
1 2004/05/31 19:29:02 gdalsnes
Exp $
+/* $Id: largeint.c,v 1.
2 2004/12/11 15:23:51 weiden
Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@
-254,7
+254,7
@@
RtlLargeIntegerArithmeticShift (
else
{
/* copy the sign bit */
- RC.u.HighPart
|
= (LargeInteger.u.HighPart & 0x80000000);
+ RC.u.HighPart = (LargeInteger.u.HighPart & 0x80000000);
RC.u.LowPart = LargeInteger.u.HighPart >> Shift;
}