summaryrefslogtreecommitdiff
path: root/packages/u-boot/files/fix-data-abort-from-sd-ombug799.patch
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-01-14 07:33:42 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-01-14 07:33:42 +0000
commite04e540f70e47af0019789b691e63914db5d8d11 (patch)
tree3ce81e26bb6169245421a41b4adb02ee02099daa /packages/u-boot/files/fix-data-abort-from-sd-ombug799.patch
parentf926060e424f1732296b30de2e21a35f6d2f662f (diff)
parent6b8dd1e263356efca24e32aa337c7c987d8a09c2 (diff)
merge of '396d43c9459edaab2f04c5dd3825de0391fc1b73'
and 'e4f83871a267ab0720e73ef096ce3ab5fc40a303'
Diffstat (limited to 'packages/u-boot/files/fix-data-abort-from-sd-ombug799.patch')
-rw-r--r--packages/u-boot/files/fix-data-abort-from-sd-ombug799.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/u-boot/files/fix-data-abort-from-sd-ombug799.patch b/packages/u-boot/files/fix-data-abort-from-sd-ombug799.patch
new file mode 100644
index 0000000000..98b84430ad
--- /dev/null
+++ b/packages/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;
+