diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-02-16 11:39:42 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-02-16 11:39:42 +0000 |
commit | c98b12d911e49827887c2165850cc3bfd19b41e5 (patch) | |
tree | 03d11ad163464fe1c774002612795d9a00480cf0 /package/network/services/samba36/patches | |
parent | 30ccd13c812bf9af19f10449b3d7b8612e12d51d (diff) | |
download | upstream-c98b12d911e49827887c2165850cc3bfd19b41e5.tar.gz upstream-c98b12d911e49827887c2165850cc3bfd19b41e5.tar.bz2 upstream-c98b12d911e49827887c2165850cc3bfd19b41e5.zip |
samba36: fix segmentation fault when trying to add non-existent users
Based on a patch from НКВД. Closes #12962.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35610
Diffstat (limited to 'package/network/services/samba36/patches')
-rw-r--r-- | package/network/services/samba36/patches/111-owrt_smbpasswd.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/samba36/patches/111-owrt_smbpasswd.patch b/package/network/services/samba36/patches/111-owrt_smbpasswd.patch index 25a9cb9bf0..7d852c4c61 100644 --- a/package/network/services/samba36/patches/111-owrt_smbpasswd.patch +++ b/package/network/services/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; + } + |