{"action":"opened","issue":{"url":"https://api.github.com/repos/jnr/jnr-ffi/issues/53","labels_url":"https://api.github.com/repos/jnr/jnr-ffi/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/jnr/jnr-ffi/issues/53/comments","events_url":"https://api.github.com/repos/jnr/jnr-ffi/issues/53/events","html_url":"https://github.com/jnr/jnr-ffi/issues/53","id":113049881,"number":53,"title":"Bad LD_LIBRARY_PATH bits can get into load logic","user":{"login":"headius","id":10135,"avatar_url":"https://avatars.githubusercontent.com/u/10135?v=3","gravatar_id":"","url":"https://api.github.com/users/headius","html_url":"https://github.com/headius","followers_url":"https://api.github.com/users/headius/followers","following_url":"https://api.github.com/users/headius/following{/other_user}","gists_url":"https://api.github.com/users/headius/gists{/gist_id}","starred_url":"https://api.github.com/users/headius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/headius/subscriptions","organizations_url":"https://api.github.com/users/headius/orgs","repos_url":"https://api.github.com/users/headius/repos","events_url":"https://api.github.com/users/headius/events{/privacy}","received_events_url":"https://api.github.com/users/headius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-23T16:03:26Z","updated_at":"2015-10-23T16:03:26Z","closed_at":null,"body":"While trying to reproduce jruby/jruby#3409, I ended up setting LD_LIBRARY_PATH to `/lib32`, causing it to appear in java.library.path. For whatever reason, the filtering applied by #52 did not filter this path out, and I was able to cause the same error in a somewhat artificial way.\r\n\r\nI think it worthwhile to figure out why the same filtering did not apply to my env var in case other users have a situation where they've got a bad (or unusual?) set of LD*_LIBRARY_PATHs that might trigger a similar bad library load."}}