summaryrefslogtreecommitdiff
path: root/packages/u-boot/files/fix-data-abort-from-sd-ombug799.patch
blob: 98b84430addde31a95bb6729de96a5231d9d2502 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- git.orig/fs/ext2/ext2fs.c	2007-12-13 23:16:13.000000000 -0800
+++ git/fs/ext2/ext2fs.c	2007-12-13 23:16:41.000000000 -0800
@@ -472,7 +472,7 @@
 			return (0);
 		}
 		if (dirent.namelen != 0) {
-			char filename[dirent.namelen + 1];
+			char filename[256];
 			ext2fs_node_t fdiro;
 			int type = FILETYPE_UNKNOWN;