aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/u-boot/files/fix-data-abort-from-sd-ombug799.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/u-boot/files/fix-data-abort-from-sd-ombug799.patch')
-rw-r--r--recipes/u-boot/files/fix-data-abort-from-sd-ombug799.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/u-boot/files/fix-data-abort-from-sd-ombug799.patch b/recipes/u-boot/files/fix-data-abort-from-sd-ombug799.patch
new file mode 100644
index 0000000000..98b84430ad
--- /dev/null
+++ b/recipes/u-boot/files/fix-data-abort-from-sd-ombug799.patch
@@ -0,0 +1,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;
+