From: Jonas Gorski Date: Mon, 25 Feb 2013 12:45:52 +0000 (+0000) Subject: AA: packages: samba36: fix segmentation fault when trying to add non-existent users X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cec19e53e96d12d22f35c1993707e237e40f974d;p=openwrt%2Fsvn-archive%2Farchive.git AA: packages: samba36: fix segmentation fault when trying to add non-existent users Backport of r35610. Signed-off-by: Jonas Gorski SVN-Revision: 35772 --- 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; + } +