-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local directories are leaked to binary #185
Comments
Is this possibly a Rust issue when depending on a crate? I get the following for a completely unrelated Rust binary. cd /tmp
git clone https://github.com/blahgeek/emacs-lsp-booster.git
cd emacs-lsp-booster
cargo build --release
strings target/release/emacs-lsp-booster | rg $USER
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Details
system: pop-os 22.04
cargo version: cargo 1.70.0 (ec8a8a0ca 2023-04-25)
jack version: 0.11.4
Description
I found by peeking inside the compiled binary for my files that my full user path is exposed in several places. This also happens when building in
--release
mode.I understand these could be present in the debug build but should probably not be there in the release build.
I believe it's a jack problem as I don't have this issue with other libraries.
Reproduce
cargo new <project-name> && cd <project-name> && cargo add jack
main.rs
.cargo build --release
strings target/release/<project-name> | grep <username>
Examples
Here are the lines I found in my executable. (username replaced)
The text was updated successfully, but these errors were encountered: