Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict
path
to be an AbstractString
in lbt_forward()
Some users tried to pass a `dlopen()` handle into `lbt_forward()` which sadly works just fine, despite `ccall()` declaring its first argument as being a `Cstring`. I guess it's trivial to convert a `Ptr{Cvoid}` into a `Cstring`, so this just goes through. To protect against this, restrict `path` to be an `AbstractString`.
- Loading branch information