Просмотр исходного кода

busybox: fix empty password detection in telnetd init (#10432)

SVN-Revision: 29183
Jo-Philipp Wich 14 лет назад
Родитель
Сommit
cabbc9966c
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      package/busybox/Makefile
  2. 1 1
      package/busybox/files/telnet

+ 1 - 1
package/busybox/Makefile

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=busybox
 PKG_VERSION:=1.19.3
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 PKG_FLAGS:=essential
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

+ 1 - 1
package/busybox/files/telnet

@@ -8,7 +8,7 @@ has_root_pwd() {
 	      pwd="${pwd#*root:}"
 	      pwd="${pwd%%:*}"
 
-	test -n "${pwd#!}"
+	test -n "${pwd#[\!x]}"
 }
 
 get_root_home() {