Author: fireball
Date: Mon Oct 6 05:50:22 2008
New Revision: 36663
URL: http://svn.reactos.org/svn/reactos?rev=36663&view=rev
Log:
Cecill Etheredge <ijsf(a)gmx.net>
- The RtlEnumerateGenericTableWithoutSplaying function in RTL (generictable.c) effectively performs an endless enumeration, never advancing to the next successor element in the tree because of a bug in the code. Fix this. (Bug #3756).
- The RtlDelete code misses a line of code checking whether the node is a root,
and instead always returns NULL (assuming it is the root). Fix this. (Bug #3760).
See issue #3760 for more details.
Modified:
trunk/reactos/lib/rtl/generictable.c
trunk/reactos/lib/rtl/splaytree.c
Modified: trunk/reactos/lib/rtl/generictable.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/generictable.c?rev…
==============================================================================
--- trunk/reactos/lib/rtl/generictable.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/generictable.c [iso-8859-1] Mon Oct 6 05:50:22 2008
@@ -390,7 +390,7 @@
else
{
/* Otherwise, try using the real successor */
- FoundNode = RtlRealSuccessor(Table->TableRoot);
+ FoundNode = RtlRealSuccessor(*RestartKey);
if (FoundNode) *RestartKey = FoundNode;
}
Modified: trunk/reactos/lib/rtl/splaytree.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/splaytree.c?rev=36…
==============================================================================
--- trunk/reactos/lib/rtl/splaytree.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/splaytree.c [iso-8859-1] Mon Oct 6 05:50:22 2008
@@ -40,7 +40,7 @@
if (!(RtlLeftChild(N)) && !(RtlRightChild(N)))
{
/* If we are also the root, then the tree is gone */
- return NULL;
+ if (RtlIsRoot(N)) return NULL;
/* Get our parent */
P = RtlParent(N);
Author: fireball
Date: Mon Oct 6 05:19:55 2008
New Revision: 36661
URL: http://svn.reactos.org/svn/reactos?rev=36661&view=rev
Log:
Dmitry Gorbachev
- lfn_get() reads past the end of name[]. Though harmless, it produces 'array subscript is above array bounds' compiler warning (treated as error).
See issue #3762 for more details.
Modified:
trunk/reactos/lib/fslib/vfatlib/check/lfn.c
Modified: trunk/reactos/lib/fslib/vfatlib/check/lfn.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/check/lf…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/check/lfn.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/check/lfn.c [iso-8859-1] Mon Oct 6 05:19:55 2008
@@ -410,8 +410,12 @@
}
}
- for (sum = 0, i = 0; i < 11; i++)
+ for (sum = 0, i = 0; i < 8; i++)
sum = (((sum&1) << 7) | ((sum&0xfe) >> 1)) + de->name[i];
+
+ for (i = 0; i < 3; i++)
+ sum = (((sum&1) << 7) | ((sum&0xfe) >> 1)) + de->ext[i];
+
if (sum != lfn_checksum) {
/* checksum doesn't match, long name doesn't apply to this alias */
/* Causes: 1) alias renamed */
Author: cgutman
Date: Sun Oct 5 07:45:32 2008
New Revision: 36656
URL: http://svn.reactos.org/svn/reactos?rev=36656&view=rev
Log:
- Don't link to the putty installer since it is broken currently
Modified:
branches/ros-branch-0_3_7/rosapps/applications/downloader/downloader.xml
Modified: branches/ros-branch-0_3_7/rosapps/applications/downloader/downloader.xml
URL: http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_7/rosapps/applic…
==============================================================================
--- branches/ros-branch-0_3_7/rosapps/applications/downloader/downloader.xml [iso-8859-1] (original)
+++ branches/ros-branch-0_3_7/rosapps/applications/downloader/downloader.xml [iso-8859-1] Sun Oct 5 07:45:32 2008
@@ -74,7 +74,7 @@
<licence>MIT</licence>
<version>0.60</version>
<description>A free SSH, Telnet, rlogin, and raw TCP client.</description>
- <location>http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.60-installer.exe</location>
+ <location>http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe</location>
</application>
</category>
<category name="Office" icon="2">