소스 검색

- just reading the first 9 bytes for the maj:min ought to be enough (TM)

Bernhard Reutner-Fischer 18 년 전
부모
커밋
6fadee86df
1개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 13 0
      package/busybox/busybox.mdev-just-read-9-bytes.patch

+ 13 - 0
package/busybox/busybox.mdev-just-read-9-bytes.patch

@@ -0,0 +1,13 @@
+Index: busybox/util-linux/mdev.c
+===================================================================
+--- busybox/util-linux/mdev.c	(revision 17891)
++++ busybox/util-linux/mdev.c	(working copy)
+@@ -39,7 +39,7 @@
+ 
+ 	if (!delete) {
+ 		strcat(path, "/dev");
+-		len = open_read_close(path, temp + 1, 64);
++		len = open_read_close(path, temp + 1, 9);
+ 		*temp++ = 0;
+ 		if (len < 1) return;
+ 	}