s3: VFS: Ensure sys_getwd() doesn't leak memory on error on really old systems.
commit42b064ad759789e3ab13a30e42517982ed172de6
authorJeremy Allison <jra@samba.org>
Tue, 3 Oct 2017 17:37:55 +0000 (3 10:37 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:02 +0000 (25 08:43 +0200)
tree42998e1b22e5551703a90cdb37d8de6f577e9984
parent9209c3566d0bf180e3eea2dfed7c3fb19d577324
s3: VFS: Ensure sys_getwd() doesn't leak memory on error on really old systems.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13069

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit fb9ce0685e5d46e3d7abf5fac07b4f626339a413)
source3/lib/system.c