Cannot exec() program outside of /bin if PATH is unset
Eric Blake
eblake@redhat.com
Thu Oct 9 14:25:00 GMT 2014
On 10/09/2014 04:03 AM, Corinna Vinschen wrote:
> Ok. Or... hmm. The fact that using SetDllDirectory disallows searching
> the CWD got me thinking twice. Security-wise it would really be the
> right thing to do. Usually DLLs are in defined search paths:
>
> - Application dir
> - Application defined dirs
> - System dirs
>
> So, what scenario would actually break by removing CWD from the search
> path? Running tests in an libtoolized project dir, perhaps? Is that a
> valid concern or did libtool already take care of this?
Running a libtool project is probably unimpacted - libtool builds
in-tree dlls into a subdirectory, which is not usually the CWD.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141009/01ee9fb9/attachment.sig>
More information about the Cygwin
mailing list