]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/ntfs.c: Add comment about fixed allocation size.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 20 Oct 2013 16:48:06 +0000 (18:48 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 20 Oct 2013 16:48:06 +0000 (18:48 +0200)
ChangeLog
grub-core/fs/ntfs.c

index fd8cd931f9ba42cf1728a07c1e78e9d7ca3efb0b..a4d2e9e865d9d3f4a12b019871223a9eca5e6dc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-20  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/fs/ntfs.c: Add comment about fixed allocation size.
+
 2013-10-20  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/fs/zfs.c: Remove variable length arrays.
index d342e45c5f43ca680e621101f63236a54fb58ba9..7e7d2df673f47e7a77a42b07ac4ca340a764f31f 100644 (file)
@@ -643,6 +643,7 @@ list_file (struct grub_ntfs_file *diro, grub_uint8_t *pos,
          if (ustr == NULL)
            return 0;
          {
+           /* ns is read at uint8_t, so is can be at most 255.  */
            grub_uint16_t tmp[256];
            int i;
            for (i = 0; i < ns; i++)