Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Fix segfault if mnemonic is null #412

Merged

Conversation

kaloyan-raev
Copy link
Contributor

mnemonic_to_seed() is not protected from NULL mnemonic argument (valid use case). This way listing buckets or files without specifying a mnemonic crashes the program (segmentation fault).

`mnemonic_to_seed()` is not protected from NULL `mnemonic` argument
(valid use case). This way listing buckets or files without specifying a
mnemonic crashes the program (segmentation fault).
@kaloyan-raev
Copy link
Contributor Author

@aleitner @braydonf Please review.

@aleitner aleitner merged commit 0f62460 into storj-archived:master Jan 8, 2018
@kaloyan-raev kaloyan-raev deleted the null_mnemonic_segfault branch January 9, 2018 12:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants