]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
NTFS: Fix a buggette in an "should be impossible" case handling where we
authorAnton Altaparmakov <aia21@cantab.net>
Thu, 23 Mar 2006 15:03:11 +0000 (15:03 +0000)
committerAnton Altaparmakov <aia21@cantab.net>
Thu, 23 Mar 2006 15:03:11 +0000 (15:03 +0000)
      continued the attribute lookup loop instead of aborting it.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/ChangeLog
fs/ntfs/attrib.c

index 3d8d60be48de1cf33b66177f5b1338e28543df1e..d35a5c8e3da945107387a1e82b5d5a656712c227 100644 (file)
@@ -24,6 +24,8 @@ ToDo/Notes:
        - Fix two compiler warnings on Alpha.  Thanks to Andrew Morton for
          reporting them.
        - Fix an (innocent) off-by-one error in the runlist code.
+       - Fix a buggette in an "should be impossible" case handling where we
+         continued the attribute lookup loop instead of aborting it.
 
 2.1.26 - Minor bug fixes and updates.
 
index 9480a0526cd370efc366f8dd7bf1828f3682f74e..a92b9e9db91d4f8d9c5f95ee751ae1244a66c136 100644 (file)
@@ -1,7 +1,7 @@
 /**
  * attrib.c - NTFS attribute operations.  Part of the Linux-NTFS project.
  *
- * Copyright (c) 2001-2005 Anton Altaparmakov
+ * Copyright (c) 2001-2006 Anton Altaparmakov
  * Copyright (c) 2002 Richard Russon
  *
  * This program/include file is free software; you can redistribute it and/or
@@ -1048,7 +1048,7 @@ do_next_attr_loop:
                                le32_to_cpu(ctx->mrec->bytes_allocated))
                        break;
                if (a->type == AT_END)
-                       continue;
+                       break;
                if (!a->length)
                        break;
                if (al_entry->instance != a->instance)