Abuse Melding

Je hebt een klacht over de onderstaande posting:

27-08-2010, 10:01 door Anoniem

Uit http://www.nth-dimension.org.uk/blog.php?id=87:Consider the following script: #!/bin/sh export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/app/lib app start What happens if LD_LIBRARY_PATH isn't set? Well, in that case, the app binary path is executed with an LD_LIBRARY_PATH of :/path/to/app/lib. This may seem perfectly satisfactory, but here's the rub. When the Linux dynamic linker sees a path with an empty directory specification such as :/valid/path, /valid/path: or /valid::/path, it treats the empty specification as $PWD. Dus alleen als er ergens in een script LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/app/lib oid wordt gebruikt is er een probleem. Poeh, hoe vaak is dat? En let op: dit probleem in Linux wordt in no time echt gefixed. En niet met een "tool" die potentieel een boel programma's stuk maakt.

Beschrijf je klacht (Optioneel):

captcha