From 1e4fc3556b84654a11a460484988abfc80b5d1ae Mon Sep 17 00:00:00 2001 From: Dirk Opfer Date: Thu, 6 Aug 2009 21:42:56 +0200 Subject: busybox: add new version 1.14.3 DEFAULT_PREFERENCE is set to "-1". --- recipes/busybox/busybox-1.14.3/r24785.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes/busybox/busybox-1.14.3/r24785.patch (limited to 'recipes/busybox/busybox-1.14.3/r24785.patch') diff --git a/recipes/busybox/busybox-1.14.3/r24785.patch b/recipes/busybox/busybox-1.14.3/r24785.patch new file mode 100644 index 0000000000..e3e80befcd --- /dev/null +++ b/recipes/busybox/busybox-1.14.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; -- cgit v1.2.3