[PATCH] Ensure sys_getwd() doesn't leak memory on error and returns correct error code on older systems.

Jeremy Allison jra at samba.org
Tue Oct 3 18:22:35 UTC 2017

Fix for a memory leak problem on error on non-Linux systems
(that use the old-style getwd()-needs-malloc call). Also
ensures we always return correct errno from getwd() if it

Please review and push if OK !


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-13069.patch
Type: text/x-diff
Size: 1846 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171003/c727c7ae/bug-13069.diff>

More information about the samba-technical mailing list