Skip to content
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

Attempt to take logarithm of 0 for setup without files #166

Open
heck-gd opened this issue Mar 8, 2024 · 0 comments
Open

Attempt to take logarithm of 0 for setup without files #166

heck-gd opened this issue Mar 8, 2024 · 0 comments

Comments

@heck-gd
Copy link

heck-gd commented Mar 8, 2024

+ size_t(std::log(double(info.files.size()))));

This line executes log(0) and crashes innoextract if you provide a file as input that happens to have info.files.size() == 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant