diff options
author | Dirk Opfer <dirk@opfer-online.de> | 2010-01-04 15:35:52 +0100 |
---|---|---|
committer | Dirk Opfer <dirk@opfer-online.de> | 2010-01-06 13:58:10 +0100 |
commit | d48c5b17a2b1b6f086faf16f85019a4454c5436d (patch) | |
tree | 2c31a7c79f47bb59370c30d383249bcab534eed7 /recipes/busybox/busybox-1.15.3/r24785.patch | |
parent | 87e9614480f16ccc422416271979c155d8b9faf6 (diff) | |
download | openembedded-d48c5b17a2b1b6f086faf16f85019a4454c5436d.tar.gz |
busybox: Add new version 1.15.3
Diffstat (limited to 'recipes/busybox/busybox-1.15.3/r24785.patch')
-rw-r--r-- | recipes/busybox/busybox-1.15.3/r24785.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.15.3/r24785.patch b/recipes/busybox/busybox-1.15.3/r24785.patch new file mode 100644 index 0000000000..e3e80befcd --- /dev/null +++ b/recipes/busybox/busybox-1.15.3/r24785.patch @@ -0,0 +1,14 @@ +--- busybox/util-linux/mdev.c 2009/01/08 17:19:01 24725 ++++ busybox/util-linux/mdev.c 2009/01/12 07:57:52 24785 +@@ -179,8 +179,9 @@ + unsigned i, n; + #endif + char *a = val; +- s = strchr(val, ' '); +- val = (s && s[1]) ? s+1 : NULL; ++ s = strchrnul(val, ' '); ++ val = (s[0] && s[1]) ? s+1 : NULL; ++ s[0] = '\0'; + #if ENABLE_FEATURE_MDEV_RENAME_REGEXP + /* substitute %1..9 with off[1..9], if any */ + n = 0; |