From cec19e53e96d12d22f35c1993707e237e40f974d Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 25 Feb 2013 12:45:52 +0000 Subject: [PATCH] AA: packages: samba36: fix segmentation fault when trying to add non-existent users Backport of r35610. Signed-off-by: Jonas Gorski SVN-Revision: 35772 --- net/samba36/Makefile | 2 +- net/samba36/patches/111-owrt_smbpasswd.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/samba36/Makefile b/net/samba36/Makefile index 2a6b6b6971..f519a21018 100644 --- a/net/samba36/Makefile +++ b/net/samba36/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=samba PKG_VERSION:=3.6.5 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=http://ftp.samba.org/pub/samba \ http://ftp.samba.org/pub/samba/old-versions diff --git a/net/samba36/patches/111-owrt_smbpasswd.patch b/net/samba36/patches/111-owrt_smbpasswd.patch index d8089a34ec..aebe0953bf 100644 --- a/net/samba36/patches/111-owrt_smbpasswd.patch +++ b/net/samba36/patches/111-owrt_smbpasswd.patch @@ -113,7 +113,7 @@ + } + + if (!find_passwd_line(fp, user, &p1)) { -+ printf("User %s not found or invalid in /etc/passwd\n"); ++ printf("User %s not found or invalid in /etc/passwd\n", user); + goto out; + } + -- 2.30.2